From 24158bd747f7b00bc273651954c5108fbb22b712 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 3 Dec 2019 10:17:46 -0600 Subject: [PATCH] t/gui: Apply clang-tidy fixes to remove redundant returns. --- src/xrt/targets/gui/gui_sdl2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xrt/targets/gui/gui_sdl2.c b/src/xrt/targets/gui/gui_sdl2.c index f20234a64..7bdd57717 100644 --- a/src/xrt/targets/gui/gui_sdl2.c +++ b/src/xrt/targets/gui/gui_sdl2.c @@ -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