diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2013-04-27 20:17:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-28 12:27:04 -0700 |
commit | 1c31596a4b029e51cef1c520f32a3ecfbdea3c0a (patch) | |
tree | b812c9e1a9002fede759d71fa496cfedfd7659d8 /t/t5506-remote-groups.sh | |
parent | compat/win32/pthread.c: Fix a sparse warning (diff) | |
download | tgif-1c31596a4b029e51cef1c520f32a3ecfbdea3c0a.tar.xz |
compat/poll/poll.c: Fix a sparse warning
Sparse issues an 'Using plain integer as NULL pointer' warning when
passing the constant '0' as the second parameter in the call to the
WSAEventSelect() function. The function parameter has a pointer type
(WSAEVENT, aka HANDLE, aka void *) so that, in order to suppress the
warning, we simply pass NULL for that parameter in the function call
expression.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5506-remote-groups.sh')
0 files changed, 0 insertions, 0 deletions