]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[libesl] Coverity 1294491 Identical code for different branches
authorAndrey Volk <andywolk@gmail.com>
Fri, 31 Jan 2025 15:52:50 +0000 (18:52 +0300)
committerAndrey Volk <andywolk@gmail.com>
Mon, 3 Feb 2025 23:18:47 +0000 (02:18 +0300)
libs/esl/src/esl.c

index 4cadde177613850e198515b8d1a5752eb885ca58..d29926eb5c548431bfa918bdc3040f95d9cd3b3c 100644 (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;
 }