summaryrefslogtreecommitdiffstats
path: root/src/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-09 12:51:00 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-09 12:51:00 -0500
commite477e12ade9544c31779f007faee169aae22e145 (patch)
tree5c120f93435a5e0c5c09fd2b9f2cdadbe5cff2c3 /src/parse.c
parentee5d250d27bb1def69077a784bfeb2b444735448 (diff)
downloadbfs-e477e12ade9544c31779f007faee169aae22e145.tar.xz
config: New BFS_UNINIT() macro for intentionally uninitialized variables
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse.c b/src/parse.c
index 320e165..90e7e3b 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -2121,9 +2121,9 @@ static int parse_mode(const struct parser_state *state, const char *mode, struct
MODE_EQUALS,
} op;
- mode_t who;
- mode_t file_change;
- mode_t dir_change;
+ mode_t BFS_UNINIT(who, 0);
+ mode_t BFS_UNINIT(file_change, 0);
+ mode_t BFS_UNINIT(dir_change, 0);
const char *i = mode;
while (true) {