[MOAB-dev] r4253 - in MOAB/trunk: examples src/io test/oldinc test/perf tools
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Fri Nov 5 11:01:03 CDT 2010
Author: tautges
Date: 2010-11-05 11:01:03 -0500 (Fri, 05 Nov 2010)
New Revision: 4253
Modified:
MOAB/trunk/examples/ObbTree.cpp
MOAB/trunk/src/io/ReadABAQUS.cpp
MOAB/trunk/src/io/ReadNC.cpp
MOAB/trunk/src/io/WriteHDF5.cpp
MOAB/trunk/src/io/WriteVtk.cpp
MOAB/trunk/test/oldinc/test_oldinc.cpp
MOAB/trunk/test/perf/tstt_perf_binding.cpp
MOAB/trunk/tools/skin.cpp
Log:
Eliminating a bunch of compiler warnings. Passes make check (serial).
Modified: MOAB/trunk/examples/ObbTree.cpp
===================================================================
--- MOAB/trunk/examples/ObbTree.cpp 2010-11-05 15:47:18 UTC (rev 4252)
+++ MOAB/trunk/examples/ObbTree.cpp 2010-11-05 16:01:03 UTC (rev 4253)
@@ -18,7 +18,6 @@
moab::ErrorCode rval = mb->load_mesh(argv[1]);
// get all triangles
- int err;
moab::EntityHandle tree_root;
moab::Range tris;
//moab::OrientedBoxTreeTool::Settings settings;
@@ -66,7 +65,7 @@
<< start_pnt[1] << " " << start_pnt[2] << std::endl;
std::cout << "# of intersections : " << intersections.size() << std::endl;
std::cout << "intersection distances are on";
- for (int i = 0; i < intersections.size(); i++) {
+ for (unsigned int i = 0; i < intersections.size(); i++) {
std::cout << " " << intersections[i];
}
std::cout << " of ray length " << ray_length << std::endl;
Modified: MOAB/trunk/src/io/ReadABAQUS.cpp
===================================================================
--- MOAB/trunk/src/io/ReadABAQUS.cpp 2010-11-05 15:47:18 UTC (rev 4252)
+++ MOAB/trunk/src/io/ReadABAQUS.cpp 2010-11-05 16:01:03 UTC (rev 4253)
@@ -1184,7 +1184,7 @@
nodes_per_element[abq_eletype_ds4] = 4;
entityTypeMap[abq_eletype_ds4] = MBQUAD;
- abaqus_element_type element_type;
+ abaqus_element_type element_type = abq_eletype_dc3d8;
bool make_element_set = false;
std::string element_set_name;
Modified: MOAB/trunk/src/io/ReadNC.cpp
===================================================================
--- MOAB/trunk/src/io/ReadNC.cpp 2010-11-05 15:47:18 UTC (rev 4252)
+++ MOAB/trunk/src/io/ReadNC.cpp 2010-11-05 16:01:03 UTC (rev 4253)
@@ -71,7 +71,7 @@
const ReaderIface::SubsetList* subset_list,
const Tag* file_id_tag)
{
- ErrorCode rval;
+ ErrorCode rval = MB_SUCCESS;
//See if opts has variable(s) specified
std::vector<std::string> var_names;
Modified: MOAB/trunk/src/io/WriteHDF5.cpp
More information about the moab-dev
mailing list