summaryrefslogtreecommitdiff
path: root/common/common.cpp
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2023-09-28 17:41:44 -0400
committerGitHub <noreply@github.com>2023-09-28 17:41:44 -0400
commitbc39553c901a91cfcb757863586250838c83eeab (patch)
tree507d1aedf8ad63e4ed84e37154de9abf31ba358a /common/common.cpp
parent0ccfc62a96a6b59a8faa14d1b350493f4cd51ae2 (diff)
build : enable more non-default compiler warnings (#3200)
Diffstat (limited to 'common/common.cpp')
-rw-r--r--common/common.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/common.cpp b/common/common.cpp
index 6e8c08cb..ec181c6b 100644
--- a/common/common.cpp
+++ b/common/common.cpp
@@ -755,10 +755,9 @@ std::string gpt_random_prompt(std::mt19937 & rng) {
case 7: return "He";
case 8: return "She";
case 9: return "They";
- default: return "To";
}
- return "The";
+ GGML_UNREACHABLE();
}
//