summaryrefslogtreecommitdiff
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsay1.demon.co.uk>2013-04-27 20:16:28 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-28 12:26:45 -0700
commit9c3b051f931af9e3bcc765a4c83426e3be7de7f1 (patch)
tree4bf67a11a11f6b8d67be5f1a93d76a8fbd6d21d4 /xdiff-interface.c
parentcompat/unsetenv.c: Fix a sparse warning (diff)
downloadtgif-9c3b051f931af9e3bcc765a4c83426e3be7de7f1.tar.xz
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>
Diffstat (limited to 'xdiff-interface.c')
0 files changed, 0 insertions, 0 deletions