Merge pull request #20263 from notomo/refactor-remove-unused

refactor(message): remove unused function
This commit is contained in:
bfredl 2022-09-20 16:38:31 +02:00 committed by GitHub
commit 62db91f06c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -936,15 +936,6 @@ void hl_msg_free(HlMessage hl_msg)
kv_destroy(hl_msg);
}
#define LINE_BUFFER_SIZE 4096
void add_hl_msg_hist(HlMessage hl_msg)
{
if (kv_size(hl_msg)) {
add_msg_hist_multiattr(NULL, 0, 0, true, hl_msg);
}
}
/// @param[in] len Length of s or -1.
static void add_msg_hist(const char *s, int len, int attr, bool multiline)
{