aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/rotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rotation.c b/examples/rotation.c
index 17bb4384..84daa822 100644
--- a/examples/rotation.c
+++ b/examples/rotation.c
@@ -231,7 +231,7 @@ int main(int argc, char *argv[]) {
}
break;
default:
- break;
+ return 1;
}
}
wlr_log_init(WLR_DEBUG, NULL);