[MOAB-dev] r3292 - MOAB/trunk
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Fri Nov 6 09:51:46 CST 2009
Author: kraftche
Date: 2009-11-06 09:51:45 -0600 (Fri, 06 Nov 2009)
New Revision: 3292
Modified:
MOAB/trunk/TagServer.cpp
Log:
fix use of initialized variable causing random test failures
Modified: MOAB/trunk/TagServer.cpp
===================================================================
--- MOAB/trunk/TagServer.cpp 2009-11-06 04:15:27 UTC (rev 3291)
+++ MOAB/trunk/TagServer.cpp 2009-11-06 15:51:45 UTC (rev 3292)
@@ -871,7 +871,7 @@
// If tag value is default value, then we want every entity
// in 'range' of the correct type, except those with a different tag value.
- bool equals_default;
+ bool equals_default = false;
if (info->default_value()) {
if (PROP_FROM_TAG_HANDLE(tag_handle) == MB_TAG_BIT)
equals_default = (*(char*)value == *(char*)info->default_value());
More information about the moab-dev
mailing list