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

am: 6835d52c7e

Change-Id: Ibb0bc1ccb3abf0a9ad82eea38b28e882a89e2f06
This commit is contained in:
Tianjie Xu
2017-03-28 21:39:18 +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));
}
;