summaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-11-01 19:28:51 +0100
committerPřemysl Janouch <p@janouch.name>2018-11-01 19:29:43 +0100
commitc9bffc6046e1ced437e8ea5926ba71a16cdefdf3 (patch)
tree2e4287e4c08c6620e0c213f68a13785c63614d4c /sdn.cpp
parent292829852eb462f45ae0da0b2370992f29b3ee77 (diff)
downloadsdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.tar.gz
sdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.tar.xz
sdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.zip
Fix uninitialized iterator
Diffstat (limited to 'sdn.cpp')
-rw-r--r--sdn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn.cpp b/sdn.cpp
index bd71a50..d4ce0d7 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -1064,7 +1064,7 @@ fun load_bindings () {
// Stringization in the preprocessor is a bit limited, we want lisp-case
map<string, action> actions;
- int a;
+ int a = 0;
for (auto p : g_action_names) {
string name;
for (; *p; p++)