mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
fix msvc6 template warning
fix writing to uninitialized pointer svn path=/trunk/; revision=18627
This commit is contained in:
parent
997e8fb48c
commit
f08e0f0692
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "../../pch.h"
|
||||||
#include "msvc.h"
|
#include "msvc.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ MSVCBackend::_gen_guid()
|
||||||
GUID m_guid;
|
GUID m_guid;
|
||||||
HRESULT result;
|
HRESULT result;
|
||||||
bool good_guid = false;
|
bool good_guid = false;
|
||||||
char* guid;
|
static char guid[38];
|
||||||
|
|
||||||
// Load ole32. We will need it later on
|
// Load ole32. We will need it later on
|
||||||
HMODULE olelib = LoadLibrary ( "ole32.dll" );
|
HMODULE olelib = LoadLibrary ( "ole32.dll" );
|
||||||
|
|
Loading…
Reference in a new issue