Skip to content

Commit

Permalink
Fix for issue #975 - Adding warning when plugin has a wrong library p…
Browse files Browse the repository at this point in the history
…arameter
  • Loading branch information
bhigy authored and drdanz committed Dec 2, 2016
1 parent 561ad2d commit e555015
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 e555015

Please sign in to comment.