+ small simplification of the code# Please enter the commit message for your changes. Lines starting

This commit is contained in:
kelson42 2014-08-28 14:25:10 -06:00
parent 26c1a9f352
commit 9df7b9fb12

View File

@ -564,7 +564,7 @@ int main(int argc, char **argv) {
vector<string> libraryPaths = kiwix::split(libraryPath, ";");
vector<string>::iterator itr;
for ( itr = libraryPaths.begin(); itr != libraryPaths.end(); ++itr ) {
if (!(*itr).empty()) {
if (!itr->empty()) {
bool retVal = false;
string libraryPath = isRelativePath(*itr) ? computeAbsolutePath(removeLastPathElement(getExecutablePath(), true, false), *itr) : *itr;