diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
commit | d6176b0dcacb124539e0cfd051e6d93a9782f020 (patch) | |
tree | 9e6f4b465e54c9b26e1ba70cd8890b55abb08464 /src/utils/win/SkHRESULT.cpp | |
parent | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/win/SkHRESULT.cpp')
-rw-r--r-- | src/utils/win/SkHRESULT.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/win/SkHRESULT.cpp b/src/utils/win/SkHRESULT.cpp index 3d463f8607..8b6b79f61d 100644 --- a/src/utils/win/SkHRESULT.cpp +++ b/src/utils/win/SkHRESULT.cpp @@ -13,7 +13,7 @@ void SkTraceHR(const char* file, unsigned long line, HRESULT hr, const char* msg) { SkDEBUGCODE(if (NULL != msg) SkDEBUGF(("%s\n", msg))); SkDEBUGF(("%s(%lu) : error 0x%x: ", file, line, hr)); - + LPSTR errorText = NULL; FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | @@ -25,7 +25,7 @@ void SkTraceHR(const char* file, unsigned long line, 0, NULL ); - + if (NULL == errorText) { SkDEBUGF(("<unknown>\n")); } else { |