summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-09 12:39:22 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-09 12:39:22 -0400
commit9c74802117d97bdb55be08a954319e1b8733cb9d (patch)
treeb0d4f08d6d50e09a7085c6008fa7ad554e077fe2 /src/eval.c
parente747c913adee1ae915509985dbd5025018037336 (diff)
downloadbfs-9c74802117d97bdb55be08a954319e1b8733cb9d.tar.xz
prelude: s/fallthru/_fallthrough/ for consistency with other attributes
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 2c88669..7c814ed 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -269,10 +269,10 @@ bool eval_time(const struct bfs_expr *expr, struct bfs_eval *state) {
switch (expr->time_unit) {
case BFS_DAYS:
diff /= 60 * 24;
- fallthru;
+ _fallthrough;
case BFS_MINUTES:
diff /= 60;
- fallthru;
+ _fallthrough;
case BFS_SECONDS:
break;
}