From f08e0f069268d105be264ad3aaa96214baeb4a07 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Thu, 20 Oct 2005 13:59:37 +0000 Subject: [PATCH] fix msvc6 template warning fix writing to uninitialized pointer svn path=/trunk/; revision=18627 --- reactos/tools/rbuild/backend/msvc/genguid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" );