Don't ref NULL ptrs in debug.
This commit is contained in:
parent
24f1219c56
commit
7916ca314b
|
@ -1001,7 +1001,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetCurrentPosition(
|
||||||
TRACE("(%p,%p,%p)\n",This,playpos,writepos);
|
TRACE("(%p,%p,%p)\n",This,playpos,writepos);
|
||||||
if (playpos) *playpos = This->playpos;
|
if (playpos) *playpos = This->playpos;
|
||||||
if (writepos) *writepos = This->writepos;
|
if (writepos) *writepos = This->writepos;
|
||||||
TRACE("playpos = %ld, writepos = %ld\n", *playpos, *writepos);
|
TRACE("playpos = %ld, writepos = %ld\n", playpos?*playpos:0, writepos?*writepos:0);
|
||||||
return DS_OK;
|
return DS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue