Fixed build

This commit is contained in:
Sam Lantinga
2024-08-04 20:34:10 -07:00
parent 571a4b4b32
commit 881e2bc344

View File

@@ -353,7 +353,6 @@ int SDL_RemoveTimer(SDL_TimerID id)
{
SDL_TimerData *data = &SDL_timer_data;
SDL_TimerMap *prev, *entry;
SDL_bool canceled = SDL_FALSE;
if (!id) {
return SDL_InvalidParamError("id");
@@ -377,7 +376,6 @@ int SDL_RemoveTimer(SDL_TimerID id)
if (entry) {
if (!SDL_AtomicGet(&entry->timer->canceled)) {
SDL_AtomicSet(&entry->timer->canceled, 1);
canceled = SDL_TRUE;
}
SDL_free(entry);
}