From: Andrey Volk Date: Fri, 31 Jan 2025 15:52:50 +0000 (+0300) Subject: [libesl] Coverity 1294491 Identical code for different branches X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8cfde8ad3c4a21330d580c45b732d05a5682b234;p=thirdparty%2Ffreeswitch.git [libesl] Coverity 1294491 Identical code for different branches --- diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c index 4cadde1776..d29926eb5c 100644 --- a/libs/esl/src/esl.c +++ b/libs/esl/src/esl.c @@ -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; }