From c9bffc6046e1ced437e8ea5926ba71a16cdefdf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Thu, 1 Nov 2018 19:28:51 +0100 Subject: Fix uninitialized iterator --- sdn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdn.cpp') 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 actions; - int a; + int a = 0; for (auto p : g_action_names) { string name; for (; *p; p++) -- cgit v1.2.3