From cf9f466f0a524f5ca55c546e5b9600564b6f8617 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 9 Nov 2019 18:42:18 -0500 Subject: [PATCH] Fix false uninit warning --- src/V3Options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Options.cpp b/src/V3Options.cpp index f41e12d44..a2670b876 100644 --- a/src/V3Options.cpp +++ b/src/V3Options.cpp @@ -1283,7 +1283,7 @@ void V3Options::parseOptsFile(FileLine* fl, const string& filename, bool rel) { ST_IN_DOUBLE_QUOTED_STR}; state st = ST_IN_OPTION; - state last_st; + state last_st = ST_IN_OPTION; string arg; for (string::size_type pos = 0; pos < whole_file.length(); ++pos) {