Merge "Suppress the unused variable warning in parser.yy" am: b9b03a282b

am: 05c111b90b

Change-Id: I111bdd2b72dd4ae04e7c6bcb020621fdc77915b7
This commit is contained in:
Tianjie Xu
2017-03-28 21:34:15 +00:00
committed by android-build-merger
+3
View File
@@ -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));
}
;