diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-17 16:38:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-17 16:38:04 +0200 |
commit | 139be0f4c898c926f9bb5954d0054e8617b6fd21 (patch) | |
tree | 862dae45629dab2ffa62939df31b24e6ccd7468d /sal/osl/unx | |
parent | 5a64d8b20ed74559617d2f97c3f941842b6a9ea1 (diff) |
Remove excess SAL_WARNs
Each such precondition violation for that URE API function would already result
in osl_File_E_INVAL anyway.
Change-Id: I279949ae8f341e6272bb4574da712fd693461acd
Diffstat (limited to 'sal/osl/unx')
-rw-r--r-- | sal/osl/unx/file_misc.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx index 8ee95ca2f484..5f2bd76f114b 100644 --- a/sal/osl/unx/file_misc.cxx +++ b/sal/osl/unx/file_misc.cxx @@ -347,10 +347,6 @@ oslFileError SAL_CALL osl_getNextDirectoryItem(oslDirectory pDirectory, oslFileError SAL_CALL osl_getDirectoryItem(rtl_uString* ustrFileURL, oslDirectoryItem* pItem) { - SAL_WARN_IF((!ustrFileURL) || (ustrFileURL->length == 0), "sal.file", - "Invalid file URL " << (ustrFileURL ? ("'" + OUString(ustrFileURL) + "'") : OUString("(null)"))); - SAL_WARN_IF(!pItem, "sal.file", "pItem is null"); - rtl_uString* ustrSystemPath = nullptr; oslFileError osl_error = osl_File_E_INVAL; |