diff options
author | 2012-04-10 17:42:21 +0000 | |
---|---|---|
committer | 2012-04-10 17:42:21 +0000 | |
commit | 75589257c6ac7fc55a66502b74b8bc09c0212fea (patch) | |
tree | 24d452385ad37eba7f91a17aec9b5a7851007229 /src/utils/win | |
parent | 56dd630c41d662bcf2a3f08100f2c6accda05ba9 (diff) |
Fix miscellaneous compiler warnings from Visual Studio 2010.
Changes serialization path for MorphologyImageFilter, handling of Windows
HRESULTS; otherwise just tweaks tests.
git-svn-id: http://skia.googlecode.com/svn/trunk@3642 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/win')
-rw-r--r-- | src/utils/win/SkHRESULT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/win/SkHRESULT.cpp b/src/utils/win/SkHRESULT.cpp index 740b8b8359..3d463f8607 100644 --- a/src/utils/win/SkHRESULT.cpp +++ b/src/utils/win/SkHRESULT.cpp @@ -11,7 +11,7 @@ void SkTraceHR(const char* file, unsigned long line, HRESULT hr, const char* msg) { - if (NULL != msg) SkDEBUGF(("%s\n", msg)); + SkDEBUGCODE(if (NULL != msg) SkDEBUGF(("%s\n", msg))); SkDEBUGF(("%s(%lu) : error 0x%x: ", file, line, hr)); LPSTR errorText = NULL; |