From: Patrik Gornicz Date: Wed, 19 Aug 2009 03:47:31 +0000 (-0400) Subject: added if debug comments to dassert X-Git-Tag: libbear-premerge~20 X-Git-Url: http://gitweb.pgornicz.com/?a=commitdiff_plain;h=372419c238551ddf66ae56d0d99ce963bf94db9e;p=libbear.git added if debug comments to dassert --- diff --git a/lib/src/debug.cpp b/lib/src/debug.cpp index 57921a3..443b147 100644 --- a/lib/src/debug.cpp +++ b/lib/src/debug.cpp @@ -83,7 +83,11 @@ void bear::DPF(int iLevel, const char* pstr) void bear::DASSERT(bool fAssert) { +//#ifdef DEBUG assert(fAssert); +//#else +// (void)fAssert; +//#endif } /// ***** Private Methods *****