From 0d0648992fec0e7981ee97ce87cb2cccd74dcb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Sat, 6 Aug 2022 11:54:48 +0200 Subject: [PATCH] Minor fixes --- sys/Ds4Pdo.cpp | 2 +- sys/Queue.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/Ds4Pdo.cpp b/sys/Ds4Pdo.cpp index 8b66622..54e92d8 100644 --- a/sys/Ds4Pdo.cpp +++ b/sys/Ds4Pdo.cpp @@ -1355,7 +1355,7 @@ VOID ViGEm::Bus::Targets::EmulationTargetDS4::EvtUserNotifyRequestComplete( PDS4_AWAIT_OUTPUT pNotify = NULL; size_t bufLen = 0; - const PUCHAR pBuffer = reinterpret_cast(Context); + const auto pBuffer = reinterpret_cast(Context); if (NT_SUCCESS(WdfRequestRetrieveOutputBuffer( Request, diff --git a/sys/Queue.cpp b/sys/Queue.cpp index 7f531dc..bb74f59 100644 --- a/sys/Queue.cpp +++ b/sys/Queue.cpp @@ -500,7 +500,6 @@ Bus_Ds4AwaitOutputHandler( ) { UNREFERENCED_PARAMETER(DmfModule); - UNREFERENCED_PARAMETER(Request); UNREFERENCED_PARAMETER(IoctlCode); UNREFERENCED_PARAMETER(OutputBufferSize); UNREFERENCED_PARAMETER(InputBufferSize);