Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9b03a28 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Suppress the unused variable warning in parser.yy"

parents bc2c51a9 c3c3496a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@
#include <string>
#include <vector>

#include <android-base/macros.h>

#include "expr.h"
#include "yydefs.h"
#include "parser.h"
@@ -121,6 +123,7 @@ arglist: /* empty */ {
    $$->emplace_back($1);
}
| arglist ',' expr {
    UNUSED($1);
    $$->push_back(std::unique_ptr<Expr>($3));
}
;