Skip to content

Commit

Permalink
Fixed variable visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-romano committed Dec 10, 2015
1 parent e4b6fa7 commit 65eb1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolbox/src/SetReferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ namespace wbt {
if (error) error->message = "Could not read control type parameter";
return false;
}
wbi::ControlMode m_controlMode = wbi::CTRL_MODE_UNKNOWN;

m_controlMode = wbi::CTRL_MODE_UNKNOWN;
if (controlType == "Position") {
m_controlMode = wbi::CTRL_MODE_POS;
} else if (controlType == "Position Direct") {
Expand Down

0 comments on commit 65eb1c4

Please sign in to comment.