commit | b9b03a282b69e5854337a5f75e45de5e73b7869e | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Mar 28 21:21:05 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Mar 28 21:21:06 2017 +0000 |
tree | 5fac6ca5101111215301727d8ae1c9e4e3c4a96b | |
parent | bc2c51a97f2d9e44fe93489077fa97a905580898 [diff] | |
parent | c3c3496ab2e9bb26b12465bd723e11261e2afb38 [diff] |
Merge "Suppress the unused variable warning in parser.yy"
diff --git a/edify/parser.yy b/edify/parser.yy index 97205fe..b1685eb 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 @@ $$->emplace_back($1); } | arglist ',' expr { + UNUSED($1); $$->push_back(std::unique_ptr<Expr>($3)); } ;