Skip to content

Commit

Permalink
TermColor: add unreachable for shouldColor (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui authored Jan 23, 2025
1 parent 7d31d74 commit 6d100b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TermColor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ shouldColor(const std::ostream& os) noexcept {
case ColorMode::Never:
return false;
}
__builtin_unreachable();
}
bool
shouldColorStdout() noexcept {
Expand Down

0 comments on commit 6d100b0

Please sign in to comment.