summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 21:11:06 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>2005-04-19 21:11:06 (GMT)
commit17cf781661e6d38f737f15f53ab552f1e95960d7 (patch)
tree4a44f336e0c93ed650f228939a708258b5d4b222
parentc9823a427a0a7aabc4f840a90e82548e91f9bdd6 (diff)
downloadgit-17cf781661e6d38f737f15f53ab552f1e95960d7.zip
git-17cf781661e6d38f737f15f53ab552f1e95960d7.tar.gz
git-17cf781661e6d38f737f15f53ab552f1e95960d7.tar.bz2
Remove duplicate getenv(DB_ENVIRONMENT) call
Noted by Tony Luck.
-rw-r--r--init-db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-db.c b/init-db.c
index 65898fa..b002dc6 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) {