]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
conditional expression is constant
authorMichael Jerris <mike@jerris.com>
Thu, 17 May 2007 17:28:35 +0000 (17:28 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 17 May 2007 17:28:35 +0000 (17:28 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@20 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/openzap.c

index 533e820bc0c800acff9aed932785b5c326d74655..58341cdef9f3a774ba7781e44428418a65c579c7 100644 (file)
@@ -74,9 +74,10 @@ static char *cut_path(char *in)
 
 static void null_logger(char *file, const char *func, int line, int level, char *fmt, ...)
 {
-       if (0) {
-               null_logger(file, func, line, level, fmt, fmt + sizeof(fmt));
+       if (file && func && line && level && fmt) {
+               return;
        }
+       return;
 }
 
 static int zap_log_level = 7;