quartz: Remove an unused variable (PVS-Studio).
This commit is contained in:
parent
b31ef9c80a
commit
585f8dfe7e
@ -274,11 +274,10 @@ HRESULT __RPC_STUB ICaptureGraphBuilder2_FindInterface_Stub( ICaptureGraphBuilde
|
|||||||
const char * qzdebugstr_guid( const GUID * id )
|
const char * qzdebugstr_guid( const GUID * id )
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
char * name = NULL;
|
|
||||||
|
|
||||||
for (i=0;InterfaceDesc[i].name && !name;i++) {
|
for (i=0; InterfaceDesc[i].name; i++)
|
||||||
if (IsEqualGUID(&InterfaceDesc[i].riid, id)) return InterfaceDesc[i].name;
|
if (IsEqualGUID(&InterfaceDesc[i].riid, id)) return InterfaceDesc[i].name;
|
||||||
}
|
|
||||||
return debugstr_guid(id);
|
return debugstr_guid(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user