From: Jonas Fonseca Date: Thu, 27 Mar 2008 19:20:10 +0000 (+0100) Subject: Fix uninitialized variable warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7672417830e55a1544b7e9d0d1afd11f0f98dbf6;p=tig.git Fix uninitialized variable warning --- diff --git a/tig.c b/tig.c index a54e57a..dc48eed 100644 --- a/tig.c +++ b/tig.c @@ -3414,9 +3414,9 @@ parse_blame_commit(struct view *view, char *text, int *blamed) blame = line->data; blame->commit = commit; + blame->header = !group; line->dirty = 1; } - blame->header = 1; return commit; }