mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-16 23:48:51 +00:00
Remove unused variables
This commit is contained in:
parent
6a0d7c63d5
commit
0b16a64d40
@ -17368,7 +17368,6 @@ bool core_set_cheat(retro_ctx_cheat_info_t *info)
|
||||
{
|
||||
runloop_state_t *runloop_st = &runloop_state;
|
||||
#if defined(HAVE_RUNAHEAD) && (defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB))
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool run_ahead_enabled = false;
|
||||
unsigned run_ahead_frames = 0;
|
||||
@ -17407,7 +17406,6 @@ bool core_reset_cheat(void)
|
||||
{
|
||||
runloop_state_t *runloop_st = &runloop_state;
|
||||
#if defined(HAVE_RUNAHEAD) && (defined(HAVE_DYNAMIC) || defined(HAVE_DYLIB))
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool run_ahead_enabled = false;
|
||||
unsigned run_ahead_frames = 0;
|
||||
@ -17450,7 +17448,6 @@ bool core_set_poll_type(unsigned type)
|
||||
|
||||
bool core_set_controller_port_device(retro_ctx_controller_info_t *pad)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
runloop_state_t *runloop_st = &runloop_state;
|
||||
input_driver_state_t *input_st = input_state_get_ptr();
|
||||
if (!pad)
|
||||
@ -17490,7 +17487,6 @@ bool core_load_game(retro_ctx_load_content_info_t *load_info)
|
||||
bool contentless = false;
|
||||
bool is_inited = false;
|
||||
bool game_loaded = false;
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
runloop_state_t *runloop_st = &runloop_state;
|
||||
|
||||
video_driver_set_cached_frame_ptr(NULL);
|
||||
|
@ -130,6 +130,7 @@ void *glkitview_init(void);
|
||||
|
||||
- (BOOL)performDragOperation:(id<NSDraggingInfo>)sender
|
||||
{
|
||||
#if 0
|
||||
NSPasteboard *pboard = [sender draggingPasteboard];
|
||||
|
||||
if ( [[pboard types] containsObject:NSURLPboardType])
|
||||
@ -137,6 +138,7 @@ void *glkitview_init(void);
|
||||
NSURL *fileURL = [NSURL URLFromPasteboard:pboard];
|
||||
NSString *s = [fileURL path];
|
||||
}
|
||||
#endif
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user