From 442cbee3410462e4b1303ccc0dda1d7f5b5242a3 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 23 Mar 2008 14:50:48 +0100 Subject: [PATCH] More blame view fixes --- tig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 493c428..1f4c620 100644 --- a/tig.c +++ b/tig.c @@ -3414,6 +3414,8 @@ blame_open(struct view *view) view->offset = view->lines = view->lineno = 0; view->line = NULL; view->start_time = time(NULL); + + return TRUE; } static struct blame_commit * @@ -3465,7 +3467,6 @@ parse_blame_commit(struct view *view, char *text, int *blamed) char *pos = text + SIZEOF_REV - 1; size_t lineno; size_t group; - struct line *line; if (strlen(text) <= SIZEOF_REV || *pos != ' ') return NULL; -- 2.32.0.93.g670b81a890