fix various compiler warnings

This commit is contained in:
wmayer
2016-08-09 13:16:26 +02:00
parent 507b39e3fc
commit 1c1f0dfe49
10 changed files with 11 additions and 8 deletions

View File

@@ -159,7 +159,7 @@ App::DocumentObjectExecReturn *DrawViewSection::execute(void)
pnts.push_back(Base::Vector3d(bb.MinX,bb.MaxY,bb.MaxZ));
pnts.push_back(Base::Vector3d(bb.MaxX,bb.MaxY,bb.MaxZ));
double uMax = 0, vMax = 0, wMax;
double uMax = 0, vMax = 0, wMax = 0;
for(std::vector<Base::Vector3d>::const_iterator it = pnts.begin(); it != pnts.end(); ++it) {
// Project each bounding box point onto projection plane and find larges u,v values