Merge "Suppress the unused variable warning in parser.yy"
This commit is contained in:
commit
b9b03a282b
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue