summaryrefslogtreecommitdiff
path: root/init-db.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 14:11:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 14:11:06 -0700
commit17cf781661e6d38f737f15f53ab552f1e95960d7 (patch)
tree4a44f336e0c93ed650f228939a708258b5d4b222 /init-db.c
parentc9823a427a0a7aabc4f840a90e82548e91f9bdd6 (diff)
downloadgit-17cf781661e6d38f737f15f53ab552f1e95960d7.tar.gz
Remove duplicate getenv(DB_ENVIRONMENT) call
Noted by Tony Luck.
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) {