Index: include/utils/win/SkHRESULT.h |
diff --git a/include/utils/win/SkHRESULT.h b/include/utils/win/SkHRESULT.h |
index a6cc1d21b9db5e7e463453af96a37c7587632826..a0ffd5935cd0aafc9cbf06b8c0abe3cfdee8922f 100644 |
--- a/include/utils/win/SkHRESULT.h |
+++ b/include/utils/win/SkHRESULT.h |
@@ -17,7 +17,7 @@ void SkTraceHR(const char* file, unsigned long line, |
#ifdef SK_DEBUG |
#define SK_TRACEHR(_hr, _msg) SkTraceHR(__FILE__, __LINE__, _hr, _msg) |
#else |
-#define SK_TRACEHR(_hr, _msg) _hr |
+#define SK_TRACEHR(_hr, _msg) sk_ignore_unused_variable(_hr) |
#endif |
#define HR_GENERAL(_ex, _msg, _ret) {\ |