aboutsummaryrefslogtreecommitdiffstats
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 1834d8d..402568b 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -16,7 +16,6 @@
static git_repository *repo;
static const char *relpath = "";
-static const char *repodir;
static char description[255] = "Repositories";
static char *name = "";
@@ -157,6 +156,7 @@ main(int argc, char *argv[])
const git_error *e = NULL;
FILE *fp;
char path[PATH_MAX], repodirabs[PATH_MAX + 1];
+ const char *repodir;
int i, ret = 0;
if (pledge("stdio rpath", NULL) == -1)