mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Coverity doesn't understand retro_assert and these checks are
superfluous anyway
This commit is contained in:
parent
01c6748f72
commit
45688b2a9d
@ -176,7 +176,7 @@ void string_list_set(struct string_list *list,
|
||||
unsigned idx, const char *str)
|
||||
{
|
||||
free(list->elems[idx].data);
|
||||
retro_assert(list->elems[idx].data = strdup(str));
|
||||
list->elems[idx].data = strdup(str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -256,8 +256,8 @@ void menu_display_deinit(void)
|
||||
|
||||
bool menu_display_init(void)
|
||||
{
|
||||
retro_assert((menu_display_msg_queue = msg_queue_new(8)) != NULL);
|
||||
menu_disp_ca.allocated = 0;
|
||||
menu_display_msg_queue = msg_queue_new(8);
|
||||
menu_disp_ca.allocated = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user