diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 09:44:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 10:27:00 +0300 |
commit | 9a113a7d931f140b6a8e7f57937d51063244b1c8 (patch) | |
tree | d9f5b517c03f9420d93a81dafdba3f4783d197cb /tools | |
parent | WaE: conversion from 'sal_Int32' to 'sal_uInt16', possible loss of data (diff) | |
download | core-9a113a7d931f140b6a8e7f57937d51063244b1c8.tar.gz core-9a113a7d931f140b6a8e7f57937d51063244b1c8.zip |
WaE: unreachable code, we always return in preceding code
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index c27de5f788cd..95fcd3278fa1 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -2084,7 +2084,13 @@ FSysError DirEntry::MoveTo( const DirEntry& rNewName ) const } #endif #endif + +// For the WNT case we always return already above, so avoid warning +// C4702: unreachable code. Possibly also in non-WNT cases we always +// return already above, but gcc apparently doesn't mind. +#ifndef WNT return ERRCODE_NONE; +#endif } #endif |