Permalink
Browse files

Uninitialized variable. This could cause an issue, but is extremely u…

…nlikely.
  • Loading branch information...
1 parent fbb95f4 commit 7503521b414905100d1981c03cfa267636e21fe2 Mike committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp
@@ -130,7 +130,7 @@ bool CAESinkDirectSound::Initialize(AEAudioFormat &format, std::string &device)
LPGUID deviceGUID = NULL;
RPC_CSTR wszUuid = NULL;
- HRESULT hr;
+ HRESULT hr = E_FAIL;
std::list<DSDevice> DSDeviceList;
std::string deviceFriendlyName;
DirectSoundEnumerate(DSEnumCallback, &DSDeviceList);

0 comments on commit 7503521

Please sign in to comment.