r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Jul 2005 13:17:14 +0000 (13:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:23:06 +0000 (13:23 -0500)
(This used to be commit 2a64ee4227840de4aebe2ebe1887dfd167831738)

source4/lib/appweb/ejs/ejsLib.c

index caae5b6495870db0ffbef4c0240a5ba07131788a..b3e61ec3752212fcbcb4281fb685b2adf4db312e 100644 (file)
@@ -477,7 +477,6 @@ static void ejsErrorCore(Ejs* ep, const char *fmt, va_list args)
        char            *errbuf, *msgbuf;
 
        mprAssert(ep);
-       mprAssert(args);
 
        msgbuf = NULL;
        mprAllocVsprintf(&msgbuf, MPR_MAX_STRING, fmt, args);