20 Sep
2024
20 Sep
'24
9:10 p.m.
Rémi Bernon (@rbernon) commented about dlls/bluetoothapis/sdp.c:
+ { + SetLastError( ERROR_INVALID_DATA ); + return FALSE; + } + + switch (data.type) + { + case SDP_TYPE_SEQUENCE: + case SDP_TYPE_ALTERNATIVE: + break; + default: + SetLastError( ERROR_INVALID_DATA ); + return FALSE; + } + + while (TRUE) I think `for (;;)` is usually preferred for such loops.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6402#note_82812