Remove redundant GUID check.

This commit is contained in:
Robert Reif 2004-11-09 20:10:46 +00:00 committed by Alexandre Julliard
parent 47361da574
commit b46a106ab1
1 changed files with 1 additions and 2 deletions

View File

@ -930,8 +930,7 @@ IDirectSoundCaptureBufferImpl_QueryInterface(
*ppobj = NULL;
if ( IsEqualGUID( &IID_IDirectSoundNotify, riid ) ||
IsEqualGUID( &IID_IDirectSoundNotify8, riid ) ) {
if ( IsEqualGUID( &IID_IDirectSoundNotify, riid ) ) {
if (!This->notify)
hres = IDirectSoundCaptureNotifyImpl_Create(This, &This->notify);
if (This->notify) {