Don't ref NULL ptrs in debug.

This commit is contained in:
Marcus Meissner 1999-10-13 12:31:21 +00:00 committed by Alexandre Julliard
parent 24f1219c56
commit 7916ca314b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }