t/gui: Apply clang-tidy fixes to remove redundant returns.

This commit is contained in:
Ryan Pavlik 2019-12-03 10:17:46 -06:00 committed by Jakob Bornecrantz
parent d9fb855f6e
commit 24158bd747

View file

@ -24,8 +24,6 @@ sdl2_handle_keydown(struct sdl2_program *p, const SDL_Event *e)
case SDLK_ESCAPE: p->base.stopped = true; break;
default: break;
}
return;
}
@ -52,8 +50,6 @@ gui_sdl2_loop(struct sdl2_program *p)
sdl2_handle_keydown(p, &event);
}
}
return;
}
int