diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-03-28 23:21:05 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-03-28 23:21:06 +0200 |
commit | b9b03a282b69e5854337a5f75e45de5e73b7869e (patch) | |
tree | 5fac6ca5101111215301727d8ae1c9e4e3c4a96b | |
parent | Merge "Log temperature during OTA update" (diff) | |
parent | Suppress the unused variable warning in parser.yy (diff) | |
download | android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar.gz android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar.bz2 android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar.lz android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar.xz android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.tar.zst android_bootable_recovery-b9b03a282b69e5854337a5f75e45de5e73b7869e.zip |
-rw-r--r-- | edify/parser.yy | 3 |
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)); } ; |