Silence some warnings

This commit is contained in:
twinaphex 2018-09-15 07:19:51 +02:00
parent 73e01b64ba
commit 09d27fc591
2 changed files with 1 additions and 1 deletions

View File

@ -1859,6 +1859,7 @@ bool command_event(enum event_command cmd, void *data)
case CMD_EVENT_LOAD_CORE: case CMD_EVENT_LOAD_CORE:
{ {
bool success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL); bool success = command_event(CMD_EVENT_LOAD_CORE_PERSIST, NULL);
(void)success;
#ifndef HAVE_DYNAMIC #ifndef HAVE_DYNAMIC
command_event(CMD_EVENT_QUIT, NULL); command_event(CMD_EVENT_QUIT, NULL);

View File

@ -1186,7 +1186,6 @@ error:
bool content_save_state(const char *path, bool save_to_disk, bool autosave) bool content_save_state(const char *path, bool save_to_disk, bool autosave)
{ {
retro_ctx_size_info_t info; retro_ctx_size_info_t info;
bool ret = false;
void *data = NULL; void *data = NULL;
core_serialize_size(&info); core_serialize_size(&info);