+ size initialisation (=0)x

This commit is contained in:
kelson42 2012-08-26 09:29:44 +00:00
parent 8de4dd9ce0
commit 0c6bf971bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 {