diff options
author | Mike Klein <mtklein@chromium.org> | 2017-03-27 14:28:07 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-27 19:16:59 +0000 |
commit | b338484d23d6fa4d6726361440962e75ec5855e0 (patch) | |
tree | 77baa4b18ff2bcfb7306eed8dff56eb5c7c7329d /src/ports | |
parent | b436655ad5c40a04b65c1642d0a0e781ce296c96 (diff) |
quiet some annoying logging in unit tests
Noticed all these while adding some unit test support to ok.
Change-Id: Ie33b96da95840628657211cb28b2134fd314a48a
Reviewed-on: https://skia-review.googlesource.com/10202
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/ports')
-rw-r--r-- | src/ports/SkOSLibrary_posix.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ports/SkOSLibrary_posix.cpp b/src/ports/SkOSLibrary_posix.cpp index 6372a8122a..901ee22f3c 100644 --- a/src/ports/SkOSLibrary_posix.cpp +++ b/src/ports/SkOSLibrary_posix.cpp @@ -12,11 +12,7 @@ #include <dlfcn.h> void* DynamicLoadLibrary(const char* libraryName) { - void* result = dlopen(libraryName, RTLD_LAZY); - if (!result) { - SkDebugf("Error loading %s {\n %s\n}\n", libraryName, dlerror()); - } - return result; + return dlopen(libraryName, RTLD_LAZY); } void* GetProcedureAddress(void* library, const char* functionName) { |