all repos — mgba @ 47344bc08ad3ef95c009f4bc72ae936b6c50f5c5

mGBA Game Boy Advance Emulator

Core: Remove unused variable
Vicki Pfau vi@endrift.com
Wed, 18 Jan 2017 23:40:33 -0800
commit

47344bc08ad3ef95c009f4bc72ae936b6c50f5c5

parent

caee44a592c9bc56b18c53e16e7114fef6bd8eb9

1 files changed, 0 insertions(+), 2 deletions(-)

jump to
M src/core/timing.csrc/core/timing.c

@@ -55,13 +55,11 @@ }

} bool mTimingIsScheduled(const struct mTiming* timing, const struct mTimingEvent* event) { - struct mTimingEvent* const* previous = &timing->root; const struct mTimingEvent* next = timing->root; while (next) { if (next == event) { return true; } - previous = &next->next; next = next->next; } return false;