From cb92ddd6c2e7e33bfa55f54b727981bdae9f9175 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 29 Oct 2015 15:18:03 +0100 Subject: [PATCH] main: fix uninitialized variable Detected by Coverity CID 1331190 Signed-off-by: Felix Fietkau --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index edd10b8..7f33d90 100644 --- a/main.c +++ b/main.c @@ -703,7 +703,7 @@ int main(int argc, char **argv) struct relayd_interface *rif = NULL; struct in_addr addr, addr2; bool local_addr_valid = false; - bool managed; + bool managed = false; int ifnum = 0; char *s, *s2; int mask; -- 2.30.2