Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05c111b9 authored by Tianjie Xu's avatar Tianjie Xu Committed by android-build-merger
Browse files

Merge "Suppress the unused variable warning in parser.yy"

am: b9b03a28

Change-Id: I722683e1a474180dc7bfd85d249e05aab66c8712
parents 1d7e500b b9b03a28
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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));
}
;