[cig-commits] commit: Fix a warning
Mercurial
hg at geodynamics.org
Thu Mar 15 12:30:48 PDT 2012
changeset: 824:bfe3c9c0a20f
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Mar 15 12:30:35 2012 -0700
files: Base/Foundation/src/NewClass.cxx
description:
Fix a warning
diff -r dd6db610d362 -r bfe3c9c0a20f Base/Foundation/src/NewClass.cxx
--- a/Base/Foundation/src/NewClass.cxx Sat Nov 26 20:50:18 2011 -0800
+++ b/Base/Foundation/src/NewClass.cxx Thu Mar 15 12:30:35 2012 -0700
@@ -50,7 +50,10 @@ void _NewClass_Init( void* _self ) {
}
void _NewClass_Destruct( void* _self ) {
- NewClass* self = Class_Cast( _self, NewClass );
+#ifndef NDEBUG
+ NewClass* self =
+#endif
+ Class_Cast( _self, NewClass );
#ifndef NDEBUG
if( ((NewClass*)self)->curAllocd != 0 ) {
More information about the CIG-COMMITS
mailing list