summaryrefslogtreecommitdiff
path: root/stagit-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'stagit-index.c')
-rw-r--r--stagit-index.c2
1 files changed, 1 insertions, 1 deletions
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);