diff --git a/CodeLite/typedef_parser.cpp b/CodeLite/typedef_parser.cpp index a531b6b1fb..04308beb8b 100644 --- a/CodeLite/typedef_parser.cpp +++ b/CodeLite/typedef_parser.cpp @@ -477,7 +477,6 @@ std::string typedef_consumBracketsContent(char openBrace) void typedef_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); while (depth >= 0) { int ch = cl_scope_lex(); diff --git a/CodeLite/var_parser.cpp b/CodeLite/var_parser.cpp index 748fc35826..433f24bc00 100644 --- a/CodeLite/var_parser.cpp +++ b/CodeLite/var_parser.cpp @@ -659,7 +659,6 @@ void var_consumeDefaultValueIfNeeded() void var_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); curr_var.m_defaultValue.clear(); while (depth >= 0) { diff --git a/CxxParser/cpp_variables_grammar.y b/CxxParser/cpp_variables_grammar.y index ab1a8c3938..a4715fd195 100644 --- a/CxxParser/cpp_variables_grammar.y +++ b/CxxParser/cpp_variables_grammar.y @@ -635,7 +635,6 @@ void var_consumeDefaultValueIfNeeded() void var_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); curr_var.m_defaultValue.clear(); while (depth >= 0) { diff --git a/CxxParser/typedef_grammar.y b/CxxParser/typedef_grammar.y index 708d861eb8..324078867e 100644 --- a/CxxParser/typedef_grammar.y +++ b/CxxParser/typedef_grammar.y @@ -352,7 +352,6 @@ std::string typedef_consumBracketsContent(char openBrace) void typedef_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); while (depth >= 0) { int ch = cl_scope_lex(); diff --git a/CxxParser/typedef_parser.cpp b/CxxParser/typedef_parser.cpp index a531b6b1fb..04308beb8b 100644 --- a/CxxParser/typedef_parser.cpp +++ b/CxxParser/typedef_parser.cpp @@ -477,7 +477,6 @@ std::string typedef_consumBracketsContent(char openBrace) void typedef_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); while (depth >= 0) { int ch = cl_scope_lex(); diff --git a/CxxParser/var_parser.cpp b/CxxParser/var_parser.cpp index 748fc35826..433f24bc00 100644 --- a/CxxParser/var_parser.cpp +++ b/CxxParser/var_parser.cpp @@ -659,7 +659,6 @@ void var_consumeDefaultValueIfNeeded() void var_consumeDefaultValue(char c1, char c2) { int depth = 0; - bool cont(true); curr_var.m_defaultValue.clear(); while (depth >= 0) {