Kaydet (Commit) bcb5a312 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

coverity#1420539: dead code

...after 0b413caa "loplugin:constantparam in
sal,sax"

Change-Id: Idf000bd1e0a261eac9ec0afbd2fb6f4c4ef8c7dc
üst 455e4011
......@@ -27,16 +27,12 @@ oslFileError oslTranslateFileError(int Errno)
OSL_ENSURE(0 != Errno, "oslTranslateFileError strange input combination!");
/* Have a look at file_error_transl.hxx for
the reason that we do this here */
if (Errno == 0)
return osl_error;
switch(Errno)
{
case 0:
osl_error = osl_File_E_None;
break;
/* Have a look at file_error_transl.hxx for
the reason that we do this here */
return osl_error;
case EPERM:
osl_error = osl_File_E_PERM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment