compat/win32/pthread.c: Fix a sparse warning
commit9c3b051f931af9e3bcc765a4c83426e3be7de7f1
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 27 Apr 2013 19:16:28 +0000 (27 20:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Apr 2013 19:26:45 +0000 (28 12:26 -0700)
tree4bf67a11a11f6b8d67be5f1a93d76a8fbd6d21d4
parentec535cc27e6c4f5e0b1d157e04f5511f166ecd9d
compat/win32/pthread.c: Fix a sparse warning

Sparse issues a 'Using plain integer as NULL pointer' warning when
initializing an pthread_t structure with an '{ 0 }' initializer.
The first field of the pthread_t structure has type HANDLE (void *),
so in order to suppress the warning, we replace the initializer
expression with '{ NULL }'.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/win32/pthread.c