Skip to content

Commit

Permalink
add missing return false, for #67
Browse files Browse the repository at this point in the history
  • Loading branch information
jgvictores committed Jan 11, 2018
1 parent 083c555 commit 2fe53a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/YarpPlugins/YarpOpenraveBase/YarpOpenraveBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ bool YarpOpenraveBase::configureOpenravePlugins(yarp::os::Searchable& config)
if( ! pModule->SendCommand(cmdout,cmdin) )
{
CD_ERROR("Bad send 'open' command.\n");
return false;
}
CD_SUCCESS("Sent 'open' command.\n");
}
Expand Down Expand Up @@ -169,6 +170,7 @@ bool YarpOpenraveBase::configureOpenravePlugins(yarp::os::Searchable& config)
if( ! pModule->SendCommand(cmdout,cmdin) )
{
CD_ERROR("Bad send '%s' command.\n",cmdin.str().c_str());
return false;
}
CD_SUCCESS("Sent '%s' command.\n",cmdin.str().c_str());
}
Expand Down

0 comments on commit 2fe53a8

Please sign in to comment.