conditional expression is constant

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@20 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-05-17 17:28:35 +00:00
parent ab71cd66b1
commit 39de1d92c5
1 changed files with 3 additions and 2 deletions

View 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;