mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
9c3b051f93
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> |
||
---|---|---|
.. | ||
dirent.c | ||
dirent.h | ||
pthread.c | ||
pthread.h | ||
syslog.c | ||
syslog.h |