Remove obsolete assert and fix compiler warning

This commit is contained in:
Georgi Gerganov 2023-03-25 16:22:05 +02:00
parent 2a2e63ce05
commit 6b6dbc8910
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 1 additions and 3 deletions

View file

@ -478,7 +478,7 @@ int main(int argc, char ** argv) {
std::string buffer;
if (!params.input_prefix.empty()) {
buffer += params.input_prefix;
printf(buffer.c_str());
printf("%s", buffer.c_str());
}
std::string line;