mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
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.
This commit is contained in:
1 parent
72e137ea7d
commit
a9fe65c316
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user