Commit b88a44d9 authored by Fabio Estevam's avatar Fabio Estevam Committed by Emil Velikov

kmscube: Remove unneeded brackets

There is no need to use brackets for single line if statements,
so simply remove them.
Signed-off-by: 's avatarFabio Estevam <>
Reviewed-by: Emil Velikov's avatarEmil Velikov <>
parent 1b22f28d
......@@ -113,11 +113,10 @@ int main(int argc, char *argv[])
return -1;
if (mode == SMOOTH) {
if (mode == SMOOTH)
egl = init_cube_smooth(gbm);
} else {
egl = init_cube_tex(gbm, mode);
if (!egl) {
printf("failed to initialize EGL\n");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment