diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 16:53:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 44b1a218214e56f07a5a55901b33761f0845979e (patch) | |
tree | a306095f7540df4da4ad521abadd2420b69c7fc4 /src | |
parent | 0956bdd8a29fdff9b7d0379325f12b7d8c650b41 (diff) | |
download | manaverse-44b1a218214e56f07a5a55901b33761f0845979e.tar.gz manaverse-44b1a218214e56f07a5a55901b33761f0845979e.tar.bz2 manaverse-44b1a218214e56f07a5a55901b33761f0845979e.tar.xz manaverse-44b1a218214e56f07a5a55901b33761f0845979e.zip |
add missing initialisation in mkdir.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/mkdir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp index 61abaca0f..fc6909710 100644 --- a/src/utils/mkdir.cpp +++ b/src/utils/mkdir.cpp @@ -120,7 +120,7 @@ int mkdir_r(const char *const pathname) const size_t len = static_cast<size_t>(strlen(pathname)); char *tmp = new char[len + 2]; - char *p; + char *p = nullptr; strcpy(tmp, pathname); |