diff options
author | Brad King <brad.king@kitware.com> | 2014-04-08 12:48:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-08 12:48:08 (GMT) |
commit | a9fe65c316dbfebe5b69269cf50659fe1aa5919d (patch) | |
tree | e430d2b50768259595f2471933c7678f3f4c8b7c /Source/cmSystemTools.cxx | |
parent | 72e137ea7d4912099b469f6a3b0f8913a1ac5a65 (diff) | |
download | CMake-a9fe65c316dbfebe5b69269cf50659fe1aa5919d.zip CMake-a9fe65c316dbfebe5b69269cf50659fe1aa5919d.tar.gz CMake-a9fe65c316dbfebe5b69269cf50659fe1aa5919d.tar.bz2 |
cmSystemTools: Remove unreachable return on HP compiler
Follow up commit 1de08685 (cmSystemTools: Restore unreachable return to
silence warnings, 2014-04-02) by excluding the unreachable return on the
HP compiler as well as Clang. Both recognize that it is unreachable and
warn.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 635e31c..c27b561 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1616,7 +1616,7 @@ long copy_data(struct archive *ar, struct archive *aw) return (r); } } -#if !defined(__clang__) +#if !defined(__clang__) && !defined(__HP_aCC) return r; /* this should not happen but it quiets some compilers */ #endif } |