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/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 5f54250..ed3f6ab 100644 --- a/src/config.h +++ b/src/config.h @@ -204,9 +204,9 @@ * Initialize a variable, unless sanitizers would detect uninitialized uses. */ #if __has_feature(memory_sanitizer) -# define BFS_UNINIT(var, value) var = var +# define BFS_UNINIT(var, value) var #else -# define BFS_UNINIT(var, value) var = value +# define BFS_UNINIT(var, value) value #endif #endif // BFS_CONFIG_H -- cgit v1.2.3