mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Remove local variable
This commit is contained in:
parent
55a2cc48b8
commit
95821959a7
@ -362,7 +362,6 @@ static void thread_loop(void *data)
|
||||
for (;;)
|
||||
{
|
||||
thread_packet_t pkt;
|
||||
enum thread_cmd send_cmd;
|
||||
bool ret = false;
|
||||
bool updated = false;
|
||||
|
||||
@ -374,7 +373,6 @@ static void thread_loop(void *data)
|
||||
|
||||
/* To avoid race condition where send_cmd is updated
|
||||
* right after the switch is checked. */
|
||||
send_cmd = thr->send_cmd;
|
||||
pkt = thr->cmd_data;
|
||||
|
||||
slock_unlock(thr->lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user