From b2c507bfa5cf9024cfba453d24d387915244b777 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 3 May 2008 00:01:59 +0200 Subject: [PATCH] Remove useless check in blame_read_file() --- tig.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tig.c b/tig.c index d96b834..3802204 100644 --- a/tig.c +++ b/tig.c @@ -3583,9 +3583,6 @@ blame_read_file(struct view *view, char *line) size_t linelen = strlen(line); struct blame *blame = malloc(sizeof(*blame) + linelen); - if (!line) - return FALSE; - blame->commit = NULL; strncpy(blame->text, line, linelen); blame->text[linelen] = 0; -- 2.32.0.93.g670b81a890