summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-03-28 23:34:15 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-03-28 23:34:15 +0200
commit6835d52c7ea770efc8f2d8d8c8727c94abe5426d (patch)
tree393cf7179b22c956c9002371ae42712b1fe5aa1d /edify
parentMerge "Log temperature during OTA update" am: bc2c51a97f (diff)
parentMerge "Suppress the unused variable warning in parser.yy" (diff)
downloadandroid_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar.gz
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar.bz2
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar.lz
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar.xz
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.tar.zst
android_bootable_recovery-6835d52c7ea770efc8f2d8d8c8727c94abe5426d.zip
Diffstat (limited to '')
-rw-r--r--edify/parser.yy3
1 files changed, 3 insertions, 0 deletions
diff --git a/edify/parser.yy b/edify/parser.yy
index 97205fe3b..b1685eb1f 100644
--- a/edify/parser.yy
+++ b/edify/parser.yy
@@ -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));
}
;