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:
parent
ab71cd66b1
commit
39de1d92c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue