From 17cf781661e6d38f737f15f53ab552f1e95960d7 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 19 Apr 2005 14:11:06 -0700 Subject: [PATCH] Remove duplicate getenv(DB_ENVIRONMENT) call Noted by Tony Luck. --- init-db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-db.c b/init-db.c index 65898fa58..b002dc653 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) { -- 2.30.2