diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | 2005-04-19 14:11:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | 2005-04-19 14:11:06 -0700 |
commit | 17cf781661e6d38f737f15f53ab552f1e95960d7 (patch) | |
tree | 4a44f336e0c93ed650f228939a708258b5d4b222 /init-db.c | |
parent | c9823a427a0a7aabc4f840a90e82548e91f9bdd6 (diff) | |
download | git-17cf781661e6d38f737f15f53ab552f1e95960d7.tar.gz |
Remove duplicate getenv(DB_ENVIRONMENT) call
Noted by Tony Luck.
Diffstat (limited to 'init-db.c')
-rw-r--r-- | init-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |