Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "compat/unsetenv.c: Fix a sparse warning"
This reverts commit ec535cc. POSIX explicitly states "the [environ] variable, which must be declared by the user if it is to be used directly". Not declaring it causes compilation to fail on OS X. Instead don't declare the variable on MinGW, as it causes a spurious warning there. Signed-off-by: Benoit Sigoure <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information