Fix assert

svn path=/trunk/; revision=33296
This commit is contained in:
Hervé Poussineau
2008-05-05 14:50:01 +00:00
parent 6ea5c51737
commit 8ccb84366b
+2 -2
View File
@@ -8685,8 +8685,8 @@ IoReuseIrp(
_InvokeOnCancel) \
{ \
PIO_STACK_LOCATION _IrpSp; \
ASSERT(_InvokeOnSuccess || _InvokeOnError || _InvokeOnCancel ? \
_CompletionRoutine != NULL : TRUE); \
ASSERT((_InvokeOnSuccess) || (_InvokeOnError) || (_InvokeOnCancel) ? \
(_CompletionRoutine) != NULL : TRUE); \
_IrpSp = IoGetNextIrpStackLocation(_Irp); \
_IrpSp->CompletionRoutine = (PIO_COMPLETION_ROUTINE)(_CompletionRoutine); \
_IrpSp->Context = (_Context); \