Fix uninitialized iterator
This commit is contained in:
parent
292829852e
commit
c9bffc6046
2
sdn.cpp
2
sdn.cpp
|
@ -1064,7 +1064,7 @@ fun load_bindings () {
|
||||||
|
|
||||||
// Stringization in the preprocessor is a bit limited, we want lisp-case
|
// Stringization in the preprocessor is a bit limited, we want lisp-case
|
||||||
map<string, action> actions;
|
map<string, action> actions;
|
||||||
int a;
|
int a = 0;
|
||||||
for (auto p : g_action_names) {
|
for (auto p : g_action_names) {
|
||||||
string name;
|
string name;
|
||||||
for (; *p; p++)
|
for (; *p; p++)
|
||||||
|
|
Loading…
Reference in New Issue