HubertD / cangaroo

open source can bus analyzer software
GNU General Public License v2.0
271 stars 166 forks source link

api/candle : WaitForMultipleObjects returns >= 0 #15

Open fenugrec opened 5 years ago

fenugrec commented 5 years ago

minor compilation fix.

MS docs ( https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-waitformultipleobjects#return-value ) state that WAIT_OBJECT_0 is "defined as 0", so there is no point in checking for "returnvalue < 0".

This commit silences a compiler warning with gcc.