diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 15:53:56 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2011-12-09 15:53:56 +0000 |
commit | f71c8f59f2c16747ae91dac142a679fec9690893 (patch) | |
tree | 32d7812007b7078e185d94b58d04d6e84437118c /nGenEx/MachineInfo.cpp | |
parent | d489095bcdf9603053ebd514588093a991605ffb (diff) | |
download | starshatter-f71c8f59f2c16747ae91dac142a679fec9690893.zip starshatter-f71c8f59f2c16747ae91dac142a679fec9690893.tar.gz starshatter-f71c8f59f2c16747ae91dac142a679fec9690893.tar.bz2 |
A few things that MSVC's analyzer found
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,
|