From 44b1a218214e56f07a5a55901b33761f0845979e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 16:53:43 +0300 Subject: add missing initialisation in mkdir. --- src/utils/mkdir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(strlen(pathname)); char *tmp = new char[len + 2]; - char *p; + char *p = nullptr; strcpy(tmp, pathname); -- cgit v1.2.3-70-g09d2