server : fix compile warning
This commit is contained in:
parent
cd5b922f26
commit
af1ba7ea88
1 changed files with 1 additions and 2 deletions
|
@ -133,8 +133,7 @@ struct completion_token_output
|
|||
std::string text_to_send;
|
||||
};
|
||||
|
||||
static inline void server_log(const char *level, const char *function, int line,
|
||||
const char *message, const nlohmann::ordered_json &extra)
|
||||
static inline void server_log(const char *level, const char *function, int /*line*/, const char *message, const nlohmann::ordered_json &extra)
|
||||
{
|
||||
char buf[1024];
|
||||
snprintf(buf, 1024, "%24s %4s: %-80s", function, level, message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue