mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-26 10:59:23 -04:00
+ size initialisation (=0)x
This commit is contained in:
1 parent
8de4dd9ce0
commit
0c6bf971bf
1 file changed
+1
-1
@@ -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