mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Code cleanup now that SDL_bool is equivalent to a C boolean expression
This commit is contained in:
@@ -1429,7 +1429,7 @@ static SDL_bool VerifyCRC(Uint8 *data, int size)
|
||||
packetCRC[1],
|
||||
packetCRC[2],
|
||||
packetCRC[3]);
|
||||
return (unCRC == unPacketCRC) ? SDL_TRUE : SDL_FALSE;
|
||||
return (unCRC == unPacketCRC);
|
||||
}
|
||||
|
||||
static SDL_bool HIDAPI_DriverPS5_IsPacketValid(SDL_DriverPS5_Context *ctx, Uint8 *data, int size)
|
||||
|
Reference in New Issue
Block a user