mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Remove unused variables
This commit is contained in:
parent
5648c8eda4
commit
16621f0a0c
@ -3331,7 +3331,6 @@ static bool config_load_file(global_t *global,
|
||||
{
|
||||
unsigned i;
|
||||
char tmp_str[PATH_MAX_LENGTH];
|
||||
bool tmp_bool = false;
|
||||
static bool first_load = true;
|
||||
unsigned msg_color = 0;
|
||||
char *save = NULL;
|
||||
@ -3439,7 +3438,8 @@ static bool config_load_file(global_t *global,
|
||||
for (i = 0; i < MAX_USERS; i++)
|
||||
{
|
||||
char tmp[64];
|
||||
size_t _len = strlcpy(tmp, "network_remote_enable_user_p", sizeof(tmp));
|
||||
bool tmp_bool = false;
|
||||
size_t _len = strlcpy(tmp, "network_remote_enable_user_p", sizeof(tmp));
|
||||
snprintf(tmp + _len, sizeof(tmp) - _len, "%u", i + 1);
|
||||
|
||||
if (config_get_bool(conf, tmp, &tmp_bool))
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "../msg_hash.h"
|
||||
#include "../configuration.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
#if defined(_MSC_VER) && !defined(_XBOX)
|
||||
@ -35,8 +34,6 @@
|
||||
|
||||
int msg_hash_get_help_jp_enum(enum msg_hash_enums msg, char *s, size_t len)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (msg <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END &&
|
||||
msg >= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN)
|
||||
{
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "../msg_hash.h"
|
||||
#include "../configuration.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
#if defined(_MSC_VER) && !defined(_XBOX)
|
||||
@ -35,8 +34,6 @@
|
||||
|
||||
int msg_hash_get_help_ko_enum(enum msg_hash_enums msg, char *s, size_t len)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (msg <= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_END &&
|
||||
msg >= MENU_ENUM_LABEL_INPUT_HOTKEY_BIND_BEGIN)
|
||||
{
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "../msg_hash.h"
|
||||
#include "../configuration.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
#if defined(_MSC_VER) && !defined(_XBOX) && (_MSC_VER >= 1500 && _MSC_VER < 1900)
|
||||
|
@ -1137,10 +1137,10 @@ void runahead_run(void *data,
|
||||
bool suspended_frame = false;
|
||||
#if defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB)
|
||||
const bool have_dynamic = true;
|
||||
settings_t *settings = config_get_ptr();
|
||||
#else
|
||||
const bool have_dynamic = false;
|
||||
#endif
|
||||
settings_t *settings = config_get_ptr();
|
||||
video_driver_state_t
|
||||
*video_st = video_state_get_ptr();
|
||||
uint64_t frame_count = video_st->frame_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user