Skip to content

Commit

Permalink
fix coverity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Nov 20, 2016
1 parent 463106c commit 5d27a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/PartDesign/App/Feature.cpp
Expand Up @@ -68,7 +68,7 @@ TopoDS_Shape Feature::getSolid(const TopoDS_Shape& shape)
Standard_Failure::Raise("Shape is null");
TopExp_Explorer xp;
xp.Init(shape,TopAbs_SOLID);
for (;xp.More(); xp.Next()) {
if (xp.More()) {
return xp.Current();
}

Expand Down

0 comments on commit 5d27a49

Please sign in to comment.