Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Unified Diff: include/utils/win/SkHRESULT.h

Issue 1503463004: clang/win: Let SK_TRACEHR not produce -Wunused-value warnings in release builds. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/win/SkHRESULT.h
diff --git a/include/utils/win/SkHRESULT.h b/include/utils/win/SkHRESULT.h
index 4f9d1bec796e11cd6612bd578f9fb2c143db8dd7..225d78079d00871034ec6077dc7e4e06f9a46828 100644
--- a/include/utils/win/SkHRESULT.h
+++ b/include/utils/win/SkHRESULT.h
@@ -16,7 +16,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
bungeman-skia 2015/12/06 21:03:47 I will say that this existing code is odd, in that
Nico 2015/12/07 17:42:28 Done. (It looks like skia isn't built with unused
+#define SK_TRACEHR(_hr, _msg)
#endif
#define HR_GENERAL(_ex, _msg, _ret) {\
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698