diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-24 19:21:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-24 19:21:30 -0700 |
commit | fc5894bc720596964f65f2f645752d4740dbb731 (patch) | |
tree | e68f60369137c16e211846d4a0bf7d6cca23b26f | |
parent | cb1824657bd0b6d9b916a0394cc67a6c18a27226 (diff) | |
parent | f1e2a48d18a458d0431df8fef041bee857adb860 (diff) | |
download | git-fc5894bc720596964f65f2f645752d4740dbb731.tar.gz |
Merge branch 'rj/sparse'
* rj/sparse:
Revert "compat/unsetenv.c: Fix a sparse warning"
-rw-r--r-- | compat/unsetenv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/unsetenv.c b/compat/unsetenv.c index 4ea18569c2..bf5fd7063b 100644 --- a/compat/unsetenv.c +++ b/compat/unsetenv.c @@ -2,6 +2,9 @@ void gitunsetenv (const char *name) { +#if !defined(__MINGW32__) + extern char **environ; +#endif int src, dst; size_t nmln; |