diff options
author | Hiltjo Posthuma <[email protected]> | 2017-03-12 19:47:58 +0100 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2017-03-12 19:47:58 +0100 |
commit | 6b48169fa5d12348a550d588fa768f670c653da8 (patch) | |
tree | 59bd5f4a8c9c8dc3546a3725d3f61074146e754a /stagit-index.c | |
parent | 82aefe6305b858b5aa329fb357a5cf7639c3522d (diff) | |
download | stagit-6b48169fa5d12348a550d588fa768f670c653da8.tar.gz stagit-6b48169fa5d12348a550d588fa768f670c653da8.zip |
reduce scope of repodir, remove unused branch parameter
Diffstat (limited to 'stagit-index.c')
-rw-r--r-- | stagit-index.c | 2 |
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) |