mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ size initialisation (=0)x
This commit is contained in:
@ -54,7 +54,7 @@ string computeAbsolutePath(const string path, const string relativePath) {
|
||||
string absolutePath;
|
||||
if (path.empty()) {
|
||||
char *path=NULL;
|
||||
size_t size;
|
||||
size_t size = 0;
|
||||
path = getcwd(path,size);
|
||||
absolutePath = string(path) + separator;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user