Commit f1519236 authored by Jan Möbius's avatar Jan Möbius

Fixed various cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16342 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1a0028b0
......@@ -47,12 +47,13 @@ template< typename MeshT >
void TextureControlPlugin::getOriginalHistogram(std::vector< double>& _x, std::vector< double>& _y,
int _textureid, MeshT& _mesh,
OpenMesh::VPropHandleT< double > _texProp) {
_x.clear();
_y.clear();
for ( typename MeshT::VertexIter v_it = _mesh.vertices_begin(); v_it != _mesh.vertices_end(); ++v_it) {
double value = _mesh.property(_texProp, v_it);
}
// TODO: That did not make any sense here
// _x.clear();
// _y.clear();
//
// for ( typename MeshT::VertexIter v_it = _mesh.vertices_begin(); v_it != _mesh.vertices_end(); ++v_it) {
// double value = _mesh.property(_texProp, v_it);
// }
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment