From c13c4119501291e5c276d4d1217491b16a2a7ff9 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 1 May 2016 14:09:42 +0200 Subject: code cleanup + style, functionally equivalent --- stagit-index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stagit-index.c') diff --git a/stagit-index.c b/stagit-index.c index 5875d21..412721d 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -92,11 +92,11 @@ writefooter(FILE *fp) int writelog(FILE *fp) { - char *stripped_name = NULL, *p; git_commit *commit = NULL; const git_signature *author; git_revwalk *w = NULL; git_oid id; + char *stripped_name = NULL, *p; int ret = 0; git_revwalk_new(&w, repo); -- cgit v1.2.3