diff options
author | Tianjie Xu <xunchang@google.com> | 2017-03-28 23:44:33 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-28 23:44:33 +0200 |
commit | 6e770e4f940a05ac195fb0328f092be8dc4c0934 (patch) | |
tree | 7c1029163d533b0391ea39e804135d095d256d81 | |
parent | Merge "Log temperature during OTA update" am: bc2c51a97f am: 1d7e500bfc am: 556ca4e301 (diff) | |
parent | Merge "Suppress the unused variable warning in parser.yy" am: b9b03a282b am: 05c111b90b (diff) | |
download | android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar.gz android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar.bz2 android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar.lz android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar.xz android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.tar.zst android_bootable_recovery-6e770e4f940a05ac195fb0328f092be8dc4c0934.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)); } ; |