summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
Diffstat (limited to 'init-db.c')
-rw-r--r--init-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-db.c b/init-db.c
index 65898fa582..b002dc653c 100644
--- a/init-db.c
+++ b/init-db.c
@@ -7,7 +7,7 @@
int main(int argc, char **argv)
{
- char *sha1_dir = getenv(DB_ENVIRONMENT), *path;
+ char *sha1_dir, *path;
int len, i;
if (mkdir(".git", 0755) < 0) {