[gateway,tsg] fix unused variable warning

This commit is contained in:
Armin Novak
2026-01-21 13:18:21 +01:00
parent c6da7a8cf6
commit c9d1e371d2

View File

@@ -1962,8 +1962,7 @@ static BOOL TsProxyAuthorizeTunnelReadResponse(rdpTsg* tsg, const RPC_PDU* pdu)
goto fail;
}
UINT32 PacketResponsePtr = 0;
if (!tsg_ndr_pointer_read(log, pdu->s, &index, &PacketResponsePtr, TRUE))
if (!tsg_ndr_pointer_read(log, pdu->s, &index, NULL, TRUE))
goto fail;
if (!Stream_CheckAndLogRequiredLengthWLog(log, pdu->s, 8))