summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-03-28 20:49:15 +0200
committerTianjie Xu <xunchang@google.com>2017-03-28 21:44:10 +0200
commitc3c3496ab2e9bb26b12465bd723e11261e2afb38 (patch)
treef452c31bf896737b88979a9fbb9e87c4fe3a4fd4 /edify
parentMerge "Revert "libbootloader_message: use different fstab paths for normal/recovery boot"" (diff)
downloadandroid_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar.gz
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar.bz2
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar.lz
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar.xz
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.tar.zst
android_bootable_recovery-c3c3496ab2e9bb26b12465bd723e11261e2afb38.zip
Diffstat (limited to 'edify')
-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));
}
;