projects
/
project
/
relayd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2970ff6
)
main: fix uninitialized variable
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 29 Oct 2015 14:18:03 +0000
(15:18 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 29 Oct 2015 14:24:16 +0000
(15:24 +0100)
Detected by Coverity CID
1331190
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index edd10b8b064f26fc0d6e175de09f5617d24d5cac..7f33d90adb38291e12bdafc24b3ed8e043b6788b 100644
(file)
--- 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;