From 3f1822caed3dca731997c8739c19ee32e5caadc1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 8 May 2023 14:18:37 -0400 Subject: config: Hoist the assignment outside of BFS_UNINIT() --- src/parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/parse.c') diff --git a/src/parse.c b/src/parse.c index 30bf56d..9540e83 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1962,11 +1962,11 @@ static int parse_mode(const struct parser_state *state, const char *mode, struct MODE_PLUS, MODE_MINUS, MODE_EQUALS, - } BFS_UNINIT(op, MODE_EQUALS); + } op = BFS_UNINIT(op, MODE_EQUALS); - mode_t BFS_UNINIT(who, 0); - mode_t BFS_UNINIT(file_change, 0); - mode_t BFS_UNINIT(dir_change, 0); + mode_t who = BFS_UNINIT(who, 0); + mode_t file_change = BFS_UNINIT(file_change, 0); + mode_t dir_change = BFS_UNINIT(dir_change, 0); const char *i = mode; while (true) { -- cgit v1.2.3