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

Commit 6835d52c 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

am: 05c111b9

Change-Id: I111bdd2b72dd4ae04e7c6bcb020621fdc77915b7
parents 556ca4e3 05c111b9
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));
}
;