mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
address travis warnings
This commit is contained in:
parent
69f3dda90a
commit
f8479c2b5a
@ -21,10 +21,10 @@
|
||||
|
||||
#include "cheevos_memory.h"
|
||||
|
||||
#include <../command.h>
|
||||
#include <../verbosity.h>
|
||||
#include <boolean.h>
|
||||
#include <command.h>
|
||||
#include <queues/task_queue.h>
|
||||
#include <verbosity.h>
|
||||
|
||||
#ifdef HAVE_THREADS
|
||||
#include <rthreads/rthreads.h>
|
||||
|
@ -194,9 +194,9 @@ static rcheevos_menuitem_t* rcheevos_menu_allocate(
|
||||
{
|
||||
if (rcheevos_locals->menuitems)
|
||||
{
|
||||
rcheevos_menuitem_t* new_menuitems;
|
||||
rcheevos_locals->menuitem_capacity += 32;
|
||||
rcheevos_menuitem_t* new_menuitems = (rcheevos_menuitem_t*)
|
||||
realloc(rcheevos_locals->menuitems,
|
||||
new_menuitems = (rcheevos_menuitem_t*)realloc(rcheevos_locals->menuitems,
|
||||
rcheevos_locals->menuitem_capacity * sizeof(rcheevos_menuitem_t));
|
||||
|
||||
if (new_menuitems)
|
||||
@ -231,7 +231,7 @@ static rcheevos_menuitem_t* rcheevos_menu_allocate(
|
||||
|
||||
menuitem = &rcheevos_locals->menuitems[rcheevos_locals->menuitem_count++];
|
||||
menuitem->cheevo = cheevo;
|
||||
menuitem->state_label_idx = 0;
|
||||
menuitem->state_label_idx = MSG_UNKNOWN;
|
||||
return menuitem;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user