File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ QuicRecvChunkFree(
191
191
}
192
192
}
193
193
194
+ #if DEBUG
194
195
//
195
196
// Validate the receive buffer invariants.
196
197
// No-op in release builds.
@@ -201,7 +202,6 @@ QuicRecvBufferValidate(
201
202
_In_ const QUIC_RECV_BUFFER * RecvBuffer
202
203
)
203
204
{
204
- #if DEBUG
205
205
QUIC_RECV_CHUNK * FirstChunk =
206
206
CXPLAT_CONTAINING_RECORD (
207
207
RecvBuffer -> Chunks .Flink ,
@@ -243,11 +243,10 @@ QuicRecvBufferValidate(
243
243
// There can be a retired chunk only when a read is pending.
244
244
//
245
245
CXPLAT_DBG_ASSERT (RecvBuffer -> RetiredChunk == NULL || RecvBuffer -> ReadPendingLength != 0 );
246
-
246
+ }
247
247
#else
248
- UNREFERENCED_PARAMETER (RecvBuffer );
248
+ #define QuicRecvBufferValidate (RecvBuffer )
249
249
#endif
250
- }
251
250
252
251
_IRQL_requires_max_ (DISPATCH_LEVEL )
253
252
QUIC_STATUS
You can’t perform that action at this time.
0 commit comments