From 8aec4a0cefc95528cf91317990e95d070bf7b0fb Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 3 Jan 2017 15:11:12 +0000 Subject: [PATCH] Silence a clang warning. --- src/Main/options.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 338fadde0..d4e92abf8 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -1875,7 +1875,7 @@ public: for (const SGPath& path : pl) { cJSON *pathNode = cJSON_CreateString(path.utf8Str().c_str()); - cJSON *prevNode; + cJSON *prevNode = nullptr; if (isFirst) { isFirst = false;