Remove unused variables.
This fixes the build when using gcc. Change-Id: I98b9afcf0b40b692e46f92dc4b71583e41877281 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34681 Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
f8971ae74d
commit
555696ddd0
|
@ -1977,7 +1977,7 @@ bool GeneratorImpl::EmitStatement(std::ostream& out, ast::Statement* stmt) {
|
|||
if (auto* d = stmt->As<ast::DiscardStatement>()) {
|
||||
return EmitDiscard(out, d);
|
||||
}
|
||||
if (auto* f = stmt->As<ast::FallthroughStatement>()) {
|
||||
if (stmt->As<ast::FallthroughStatement>()) {
|
||||
make_indent(out);
|
||||
out << "/* fallthrough */" << std::endl;
|
||||
return true;
|
||||
|
|
|
@ -1736,7 +1736,7 @@ bool GeneratorImpl::EmitStatement(ast::Statement* stmt) {
|
|||
if (auto* d = stmt->As<ast::DiscardStatement>()) {
|
||||
return EmitDiscard(d);
|
||||
}
|
||||
if (auto* f = stmt->As<ast::FallthroughStatement>()) {
|
||||
if (stmt->As<ast::FallthroughStatement>()) {
|
||||
make_indent();
|
||||
out_ << "/* fallthrough */" << std::endl;
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue