From: Linus Torvalds Date: Tue, 19 Apr 2005 21:11:06 +0000 (-0700) Subject: Remove duplicate getenv(DB_ENVIRONMENT) call X-Git-Tag: v0.99~807 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=17cf781661e6d38f737f15f53ab552f1e95960d7;p=git.git Remove duplicate getenv(DB_ENVIRONMENT) call Noted by Tony Luck. --- diff --git a/init-db.c b/init-db.c index 65898fa5..b002dc65 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) {