1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-08 06:36:10 +02:00
git/compat/win32
Ramsay Jones 9c3b051f93 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>
2013-04-28 12:26:45 -07:00
..
dirent.c win32: use our own dirent.h 2010-11-23 16:06:50 -08:00
dirent.h win32: use our own dirent.h 2010-11-23 16:06:50 -08:00
pthread.c compat/win32/pthread.c: Fix a sparse warning 2013-04-28 12:26:45 -07:00
pthread.h compat/win32/pthread.h: Add an pthread_key_delete() implementation 2012-04-11 11:08:43 -07:00
syslog.c mingw: avoid using strbuf in syslog 2011-10-07 16:12:25 -07:00
syslog.h mingw: implement syslog 2010-11-04 16:53:49 -07:00