mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ small simplification of the code# Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
26c1a9f352
commit
9df7b9fb12
@ -564,7 +564,7 @@ int main(int argc, char **argv) {
|
|||||||
vector<string> libraryPaths = kiwix::split(libraryPath, ";");
|
vector<string> libraryPaths = kiwix::split(libraryPath, ";");
|
||||||
vector<string>::iterator itr;
|
vector<string>::iterator itr;
|
||||||
for ( itr = libraryPaths.begin(); itr != libraryPaths.end(); ++itr ) {
|
for ( itr = libraryPaths.begin(); itr != libraryPaths.end(); ++itr ) {
|
||||||
if (!(*itr).empty()) {
|
if (!itr->empty()) {
|
||||||
bool retVal = false;
|
bool retVal = false;
|
||||||
string libraryPath = isRelativePath(*itr) ? computeAbsolutePath(removeLastPathElement(getExecutablePath(), true, false), *itr) : *itr;
|
string libraryPath = isRelativePath(*itr) ? computeAbsolutePath(removeLastPathElement(getExecutablePath(), true, false), *itr) : *itr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user