From 0c6bf971bf978b9f1f3df56366b41389d5676444 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sun, 26 Aug 2012 09:29:44 +0000 Subject: [PATCH] + size initialisation (=0)x --- src/common/pathTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pathTools.cpp b/src/common/pathTools.cpp index d9a04a0dd..672234e2b 100644 --- a/src/common/pathTools.cpp +++ b/src/common/pathTools.cpp @@ -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 {