mirror of
https://github.com/libretro/RetroArch
synced 2025-02-25 21:41:03 +00:00
Silence 'side effect in assertion' warnings
This commit is contained in:
parent
72d37e3917
commit
ec88b464c3
@ -218,7 +218,7 @@ void menu_display_deinit(void)
|
||||
|
||||
bool menu_display_init(void)
|
||||
{
|
||||
retro_assert(menu_display_msg_queue = msg_queue_new(8));
|
||||
retro_assert((menu_display_msg_queue = msg_queue_new(8)) != NULL);
|
||||
menu_disp_ca.allocated = 0;
|
||||
return true;
|
||||
}
|
||||
|
@ -141,9 +141,9 @@ static int detect_ps1_game_sub(const char *track_path,
|
||||
char *game_id, int sub_channel_mixed)
|
||||
{
|
||||
uint8_t* tmp;
|
||||
uint8_t buffer[2048 * 2];
|
||||
int skip, frame_size, is_mode1, cd_sector;
|
||||
RFILE *fp = filestream_open(track_path, RFILE_MODE_READ, -1);
|
||||
uint8_t buffer[2048 * 2] = {0};
|
||||
RFILE *fp = filestream_open(track_path, RFILE_MODE_READ, -1);
|
||||
if (!fp)
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user