diff options
author | Přemysl Janouch <p@janouch.name> | 2018-11-01 19:28:51 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-11-01 19:29:43 +0100 |
commit | c9bffc6046e1ced437e8ea5926ba71a16cdefdf3 (patch) | |
tree | 2e4287e4c08c6620e0c213f68a13785c63614d4c /sdn.cpp | |
parent | 292829852eb462f45ae0da0b2370992f29b3ee77 (diff) | |
download | sdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.tar.gz sdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.tar.xz sdn-c9bffc6046e1ced437e8ea5926ba71a16cdefdf3.zip |
Fix uninitialized iterator
Diffstat (limited to 'sdn.cpp')
-rw-r--r-- | sdn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) |