From b7d4e83270de4dc2e2a8c1df29b63e9cdfe7f074 Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Fri, 8 Nov 2019 09:40:40 +1100 Subject: [PATCH] chore(windows): unreferenced param in release build --- windows/src/engine/keyman32/hookutils.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/src/engine/keyman32/hookutils.cpp b/windows/src/engine/keyman32/hookutils.cpp index da03f4ac5e..6ccccae719 100644 --- a/windows/src/engine/keyman32/hookutils.cpp +++ b/windows/src/engine/keyman32/hookutils.cpp @@ -16,6 +16,10 @@ typedef BOOL ); DWORD ExceptionMessage(LPSTR Proc, LPEXCEPTION_POINTERS ep) { +#ifndef _DEBUG + UNREFERENCED_PARAMETER(Proc); +#endif + MINIDUMP_EXCEPTION_INFORMATION mei; char filename[MAX_PATH], temppath[MAX_PATH]; if (GetTempPath(MAX_PATH, temppath) == 0 ||