mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
t/gui: Apply clang-tidy fixes to remove redundant returns.
This commit is contained in:
parent
d9fb855f6e
commit
24158bd747
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue