From: Royce Mitchell III Date: Thu, 20 Oct 2005 13:59:37 +0000 (+0000) Subject: fix msvc6 template warning X-Git-Tag: backups/ros-branch-0_2_9@19949~1231 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f08e0f069268d105be264ad3aaa96214baeb4a07;hp=997e8fb48c2fe119141e534ae3f320c4813e2fcf fix msvc6 template warning fix writing to uninitialized pointer svn path=/trunk/; revision=18627 --- diff --git a/reactos/tools/rbuild/backend/msvc/genguid.cpp b/reactos/tools/rbuild/backend/msvc/genguid.cpp index f3dc7ede3bc..85dfb6b5d29 100644 --- a/reactos/tools/rbuild/backend/msvc/genguid.cpp +++ b/reactos/tools/rbuild/backend/msvc/genguid.cpp @@ -20,7 +20,7 @@ * */ - +#include "../../pch.h" #include "msvc.h" #include @@ -45,7 +45,7 @@ MSVCBackend::_gen_guid() GUID m_guid; HRESULT result; bool good_guid = false; - char* guid; + static char guid[38]; // Load ole32. We will need it later on HMODULE olelib = LoadLibrary ( "ole32.dll" );