diff --git a/published/external/xdp/details/ioctlfn.h b/published/external/xdp/details/ioctlfn.h index 79f9ee71..db586ffd 100644 --- a/published/external/xdp/details/ioctlfn.h +++ b/published/external/xdp/details/ioctlfn.h @@ -245,6 +245,8 @@ _XdpIoctl( XdpHandle, *Event, NULL, Overlapped, IoStatusBlock, Operation, InBuffer, InBufferSize, OutBuffer, OutputBufferSize)); +#pragma warning(push) +#pragma warning(disable: 6221) XDPAPI_ASSERT(XdpStatus != XDP_STATUS_PENDING || MayPend); if (Event == &LocalEvent && XdpStatus == XDP_STATUS_PENDING) { @@ -255,6 +257,7 @@ _XdpIoctl( XdpStatus = _XdpConvertNtStatusToXdpStatus(IoStatusBlock->Status); } +#pragma warning(pop) if (BytesReturned != NULL) { *BytesReturned = (ULONG)IoStatusBlock->Information;