Module: wine Branch: master Commit: 3c3e3e8d1d02b2c8995b90227a7355d77fe47af6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c3e3e8d1d02b2c8995b90227a...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Thu Jan 25 09:46:40 2007 +0100
qcap: Initialize a variable (Coverity).
---
dlls/qcap/dllsetup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/qcap/dllsetup.c b/dlls/qcap/dllsetup.c index 036228a..8de99ec 100644 --- a/dlls/qcap/dllsetup.c +++ b/dlls/qcap/dllsetup.c @@ -94,7 +94,7 @@ static HRESULT SetupRegisterClass(HKEY c LPCWSTR szServerType, LPCWSTR szThreadingModel) { - HKEY hkey, hsubkey; + HKEY hkey, hsubkey = NULL; LONG ret = RegCreateKeyW(clsid, szCLSID, &hkey); if (ERROR_SUCCESS != ret) return HRESULT_FROM_WIN32(ret);