Skip to content

Commit c7fa19a

Browse files
author
ochafik
committed
fix warning on gcc13 w/ uninitialized variant
1 parent 99d2d80 commit c7fa19a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ enum common_grammar_trigger_type {
120120

121121
struct common_grammar_trigger {
122122
common_grammar_trigger_type type;
123-
std::variant<llama_token, std::string> value;
123+
std::variant<llama_token, std::string> value = 0;
124124
};
125125

126126
// sampling parameters

0 commit comments

Comments
 (0)