mirror of https://github.com/kiwix/libkiwix.git
+ size initialisation (=0)x
This commit is contained in:
parent
8de4dd9ce0
commit
0c6bf971bf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue