aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Christoph Gysin <christoph.gysin@gmail.com>2017-07-27 10:57:41 +0300
committerGravatar Hummer12007 <hilobakho@gmail.com>2017-07-28 14:06:16 +0300
commitb241652ba21d91b281490a260fa40f5bfad79cf9 (patch)
tree4db4a23c5808bb3de273447ab4cf727a6f57b9bb
parenta2f7b215f6ba4b9df527bf4f8e0064ef2eda53f3 (diff)
Add comment to silence -Wimplicit-fallthrough
-rw-r--r--brightnessctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/brightnessctl.c b/brightnessctl.c
index 3874ff4..4b46d6e 100644
--- a/brightnessctl.c
+++ b/brightnessctl.c
@@ -210,6 +210,7 @@ int apply_operation(struct device *dev, unsigned int operation, struct value *va
fprintf(stdout, "Updated device '%s':\n", dev->id);
return print_device(dev);
}
+ /* FALLTHRU */
fail:
default:
return 0;