compat/poll/poll.c: Fix a sparse warning
commit1c31596a4b029e51cef1c520f32a3ecfbdea3c0a
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 27 Apr 2013 19:17:14 +0000 (27 20:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 28 Apr 2013 19:27:04 +0000 (28 12:27 -0700)
treeb812c9e1a9002fede759d71fa496cfedfd7659d8
parent9c3b051f931af9e3bcc765a4c83426e3be7de7f1
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>
compat/poll/poll.c