rm unnecessary bool check

This commit is contained in:
vvhg1 2023-10-07 12:55:59 +02:00
parent c3a7f848f2
commit b1b6beff2b

View file

@ -345,7 +345,7 @@ struct llama_server_context
void loadInfill()
{
bool suff_rm_leading_spc = true;
if (suff_rm_leading_spc && params.input_suffix.find_first_of(" ") == 0 && params.input_suffix.size() > 1) {
if (params.input_suffix.find_first_of(" ") == 0 && params.input_suffix.size() > 1) {
params.input_suffix.erase(0, 1);
suff_rm_leading_spc = false;
}