Skip to content

Commit

Permalink
CxxParser: Suppress unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rlbxku1r authored and eranif committed Nov 7, 2021
1 parent 0e18884 commit c27436d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion CodeLite/typedef_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion CodeLite/var_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion CxxParser/cpp_variables_grammar.y
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion CxxParser/typedef_grammar.y
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion CxxParser/typedef_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion CxxParser/var_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c27436d

Please sign in to comment.