Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Aug 7, 2016
1 parent 433bd37 commit b32e1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Part/Gui/Command.cpp
Expand Up @@ -353,7 +353,7 @@ void CmdPartCommon::activated(int iMsg)
std::vector<Gui::SelectionObject> Sel = getSelection().getSelectionEx(0, Part::Feature::getClassTypeId());

//test if selected object is a compound, and if it is, look how many children it has...
int numShapes = 0;
std::size_t numShapes = 0;
if (Sel.size() == 1){
numShapes = 1; //to be updated later in code, if
Gui::SelectionObject selobj = Sel[0];
Expand Down Expand Up @@ -454,7 +454,7 @@ void CmdPartFuse::activated(int iMsg)
std::vector<Gui::SelectionObject> Sel = getSelection().getSelectionEx(0, Part::Feature::getClassTypeId());

//test if selected object is a compound, and if it is, look how many children it has...
int numShapes = 0;
std::size_t numShapes = 0;
if (Sel.size() == 1){
numShapes = 1; //to be updated later in code
Gui::SelectionObject selobj = Sel[0];
Expand Down

0 comments on commit b32e1aa

Please sign in to comment.