mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-26 03:20:40 +00:00
Pacify clang 14 -Wbitwise-conditional-parentheses
* src/common.h (add_printf): * src/sparse.c (decode_num): Parenthesize to pacify Apple clang version 14.0.0 (clang-1400.0.29.202).
This commit is contained in:
@@ -1255,7 +1255,7 @@ decode_num (struct block_ptr bp, uintmax_t nmax, struct tar_sparse_file *file)
|
||||
|
||||
overflow |= nmax < n;
|
||||
char const *msgid
|
||||
= (!digit_seen | nondigit_seen ? N_("%s: malformed sparse archive member")
|
||||
= ((!digit_seen | nondigit_seen) ? N_("%s: malformed sparse archive member")
|
||||
: overflow ? N_("%s: numeric overflow in sparse archive member")
|
||||
: NULL);
|
||||
if (msgid)
|
||||
|
||||
Reference in New Issue
Block a user