diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-05-29 14:24:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-29 14:24:02 -0700 |
commit | 7e2d574c37c6d53f09ceeb650f7af001aa50e987 (patch) | |
tree | a68235d36ae82d5401b93ccc2a84c92acaf29cf3 /compat/win32/pthread.c | |
parent | 2f1ef15070a8664d3194d164f20283d78571e51c (diff) | |
parent | 84d32bf7678259c08406571cd6ce4b7a6724dcba (diff) | |
download | git-7e2d574c37c6d53f09ceeb650f7af001aa50e987.tar.gz git-7e2d574c37c6d53f09ceeb650f7af001aa50e987.tar.xz |
Merge branch 'rj/sparse'
* rj/sparse:
sparse: Fix mingw_main() argument number/type errors
compat/mingw.c: Fix some sparse warnings
compat/win32mmap.c: Fix some sparse warnings
compat/poll/poll.c: Fix a sparse warning
compat/win32/pthread.c: Fix a sparse warning
compat/unsetenv.c: Fix a sparse warning
compat/nedmalloc: Fix compiler warnings on linux
compat/nedmalloc: Fix some sparse warnings
compat/fnmatch/fnmatch.c: Fix a sparse error
compat/regex/regexec.c: Fix some sparse warnings
Diffstat (limited to 'compat/win32/pthread.c')
-rw-r--r-- | compat/win32/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32/pthread.c b/compat/win32/pthread.c index 010e875ec..e18f5c6e2 100644 --- a/compat/win32/pthread.c +++ b/compat/win32/pthread.c @@ -52,7 +52,7 @@ int win32_pthread_join(pthread_t *thread, void **value_ptr) pthread_t pthread_self(void) { - pthread_t t = { 0 }; + pthread_t t = { NULL }; t.tid = GetCurrentThreadId(); return t; } |