diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-17 18:58:12 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-17 20:32:05 +0300 |
commit | bcfeaa2e7b2247480e857814a00f42fd7bb524c2 (patch) | |
tree | ad1a14216f90bbb90ece096a13cb9f343b682cfb /sc | |
parent | 76faa3082022a402c5e567d149bfeb24fcfc99a0 (diff) |
WaE: unreachable code
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/rangelst.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx index e02dd111573b..97ef21c7fb39 100644 --- a/sc/source/core/tool/rangelst.cxx +++ b/sc/source/core/tool/rangelst.cxx @@ -802,9 +802,12 @@ int SAL_CALL ScRangePairList_QsortNameCompare( const void* p1, const void* p2 ) return 0; } } - return 0; } +#ifndef _MSC_VER // MSVC is good enough to warn about unreachable code here. + // Or stupid enough to bother warning about it, depending + // on your point of view. return 0; // just in case +#endif } //----------------------------------------------------------------------------- |