summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-06-09 14:49:57 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-06-09 14:55:45 -0400
commit7b5d98877622f2bea24c9dd745dfcf312df31a87 (patch)
treebbb03b5e7663bf0c24aaf8cfc95741d9bf98cb0c /eval.c
parent41c148c4bf835fca788e6990cb8ea8651bb55927 (diff)
downloadbfs-7b5d98877622f2bea24c9dd745dfcf312df31a87.tar.xz
util: Rename fallthrough to BFS_FALLTHROUGH
This avoids shadowing the actually standard name fallthrough.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 3a5ab12..51b621b 100644
--- a/eval.c
+++ b/eval.c
@@ -238,10 +238,10 @@ bool eval_time(const struct expr *expr, struct eval_state *state) {
switch (expr->time_unit) {
case DAYS:
diff /= 60*24;
- fallthrough;
+ BFS_FALLTHROUGH;
case MINUTES:
diff /= 60;
- fallthrough;
+ BFS_FALLTHROUGH;
case SECONDS:
break;
}