2
0
Эх сурвалжийг харах

Add [[maybe_unused]] to PrintXrError parameters

Signed-off-by: Mike Chang <[email protected]>
Mike Chang 1 жил өмнө
parent
commit
b4d03371bd

+ 1 - 1
Gems/OpenXRVk/Code/Source/OpenXRVkUtils.cpp

@@ -44,7 +44,7 @@ namespace OpenXRVk
         return to_string(result);
     }
 
-    void PrintXrError(const char* windowName, const XrResult error, const char* fmt, ...)
+    void PrintXrError([[maybe_unused]]const char* windowName, [[maybe_unused]]const XrResult error, const char* fmt, ...)
     {
         va_list argList;
         va_start(argList, fmt);