[MOAB-dev] r4819 - in MOAB/trunk: itaps/imesh src src/io src/moab
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu May 12 10:14:15 CDT 2011
Author: kraftche
Date: 2011-05-12 10:14:15 -0500 (Thu, 12 May 2011)
New Revision: 4819
Modified:
MOAB/trunk/itaps/imesh/MBIter.hpp
MOAB/trunk/src/DualTool.cpp
MOAB/trunk/src/Factory.cpp
MOAB/trunk/src/OrientedBoxTreeTool.cpp
MOAB/trunk/src/ScdVertexData.hpp
MOAB/trunk/src/SweptVertexData.hpp
MOAB/trunk/src/io/ExoIIUtil.hpp
MOAB/trunk/src/io/WriteTemplate.cpp
MOAB/trunk/src/moab/HomXform.hpp
MOAB/trunk/src/moab/Types.hpp
MOAB/trunk/src/moab/UnknownInterface.hpp
MOAB/trunk/src/moab/Util.hpp
Log:
fix clang warnings (unnecessary semicolons, empty if-statements, and struct/class mismatches)
Modified: MOAB/trunk/itaps/imesh/MBIter.hpp
===================================================================
--- MOAB/trunk/itaps/imesh/MBIter.hpp 2011-05-12 15:13:01 UTC (rev 4818)
+++ MOAB/trunk/itaps/imesh/MBIter.hpp 2011-05-12 15:14:15 UTC (rev 4819)
@@ -8,7 +8,7 @@
#include <vector>
#include <algorithm>
-class iBase_EntityArrIterator_Private
+struct iBase_EntityArrIterator_Private
{
protected:
iBase_EntityType entType;
@@ -24,7 +24,7 @@
: entType(type), entTopo(topology), entSet(set), arrSize(array_size)
{}
- virtual ~iBase_EntityArrIterator_Private() {};
+ virtual ~iBase_EntityArrIterator_Private() {}
int array_size() const { return arrSize; }
Modified: MOAB/trunk/src/DualTool.cpp
===================================================================
--- MOAB/trunk/src/DualTool.cpp 2011-05-12 15:13:01 UTC (rev 4818)
+++ MOAB/trunk/src/DualTool.cpp 2011-05-12 15:14:15 UTC (rev 4819)
@@ -101,7 +101,7 @@
globalIdTag, &dum_int);
assert(MB_ALREADY_ALLOCATED == result || MB_SUCCESS == result);
// empty statement to avoid warning
- if (result);
+ (void)(result);
maxHexId = -1;
}
Modified: MOAB/trunk/src/Factory.cpp
===================================================================
--- MOAB/trunk/src/Factory.cpp 2011-05-12 15:13:01 UTC (rev 4818)
+++ MOAB/trunk/src/Factory.cpp 2011-05-12 15:14:15 UTC (rev 4819)
@@ -69,8 +69,8 @@
class ComponentFactory : public UnknownInterface
{
public:
- ComponentFactory(){};
- virtual ~ComponentFactory(){};
+ ComponentFactory(){}
+ virtual ~ComponentFactory(){}
// returns the interface requested from an object
virtual int QueryInterface( const MBuuid&,
More information about the moab-dev
mailing list