Skip to content

Commit

Permalink
Fix implicit fallthrough in switch statement (#8816)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #8816

Reviewed By: Yuhta, r-barnes

Differential Revision: D54025516

fbshipit-source-id: 004a91f1a729cd0d545a4b40ab6938746f9d8237
  • Loading branch information
kagamiori authored and facebook-github-bot committed Feb 21, 2024
1 parent cd383ce commit 51007ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velox/functions/prestosql/aggregates/AverageAggregate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ void registerAverageAggregate(
return std::make_unique<DecimalAverageAggregateBase<int64_t>>(
resultType);
}
[[fallthrough]];
default:
VELOX_FAIL(
"Unsupported result type for final aggregation: {}",
Expand Down

0 comments on commit 51007ea

Please sign in to comment.