rm unnecessary bool check
This commit is contained in:
parent
c3a7f848f2
commit
b1b6beff2b
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ struct llama_server_context
|
||||||
void loadInfill()
|
void loadInfill()
|
||||||
{
|
{
|
||||||
bool suff_rm_leading_spc = true;
|
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);
|
params.input_suffix.erase(0, 1);
|
||||||
suff_rm_leading_spc = false;
|
suff_rm_leading_spc = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue