diff options
Diffstat (limited to 'nGenEx/MachineInfo.cpp')
-rw-r--r-- | nGenEx/MachineInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/MachineInfo.cpp b/nGenEx/MachineInfo.cpp index b281c36..c57bd56 100644 --- a/nGenEx/MachineInfo.cpp +++ b/nGenEx/MachineInfo.cpp @@ -625,7 +625,7 @@ static void DescribeDriversNT(const char* sType) HKEY hkWin;
char sVideo[256] = "";
char sDriver[256] = "";
- DWORD dwSize;
+ DWORD dwSize = NULL;
// find the pointer to the video driver:
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE,
|