Code

More blame view fixes
authorJonas Fonseca <fonseca@diku.dk>
Sun, 23 Mar 2008 13:50:48 +0000 (14:50 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 23 Mar 2008 13:51:05 +0000 (14:51 +0100)
tig.c

diff --git a/tig.c b/tig.c
index 493c4281c8132be64434f8419c50184a758e5984..1f4c620b8ad0b7936185e1b35d80e98ee6d939f8 100644 (file)
--- 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;