added if debug comments to dassert
authorPatrik Gornicz <Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:47:31 +0000 (23:47 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Wed, 19 Aug 2009 03:47:31 +0000 (23:47 -0400)
lib/src/debug.cpp

index 57921a3..443b147 100644 (file)
@@ -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 *****