reduce scope of repodir, remove unused branch parameter

This commit is contained in:
Hiltjo Posthuma
2017-03-12 19:47:58 +01:00
parent 82aefe6305
commit 6b48169fa5
2 changed files with 7 additions and 7 deletions

View File

@@ -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)