Skip to content

Commit

Permalink
Fix for issue robotology#975 - Adding warning when plugin has a wrong…
Browse files Browse the repository at this point in the history
… library parameter
  • Loading branch information
bhigy committed Dec 1, 2016
1 parent bd7782e commit befeeb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libYARP_dev/src/Drivers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ class DriversHelper : public YarpPluginSelector {
settings.readFromSearchable(prop,name);
settings.open(lib);
ConstString location = lib.getName().c_str();
if (location=="") continue;
if (location=="") {
yWarning("Wrong library name for plugin %s", name.c_str());
continue;
}

ConstString cxx = prop.check("cxx",Value("unknown")).asString();
ConstString wrapper = prop.check("wrapper",Value("unknown")).asString();
Expand Down

0 comments on commit befeeb7

Please sign in to comment.