[libesl] Coverity 1294491 Identical code for different branches

This commit is contained in:
Andrey Volk 2025-01-31 18:52:50 +03:00
parent e184897c51
commit e75944ac51

View File

@ -284,9 +284,12 @@ ESL_DECLARE(int) esl_snprintf(char *buffer, size_t count, const char *fmt, ...)
static void null_logger(const char *file, const char *func, int line, int level, const char *fmt, ...)
{
if (file && func && line && level && fmt) {
return;
}
(void)file;
(void)func;
(void)line;
(void)level;
(void)fmt;
return;
}