Remove dead lines in various places

As pointed-out by clang -Wunreachable-code.

No behaviour changes.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-02-24 19:24:14 -05:00
parent e9a2e453bb
commit bdd13f6be4
13 changed files with 18 additions and 37 deletions
-2
View File
@@ -469,8 +469,6 @@ static int find_symlinks_fd(
return 1;
}
}
return r;
}
static int find_symlinks(
+2 -2
View File
@@ -207,8 +207,8 @@ read_again:
if (type_idxs[i] >= num_types)
return -EINVAL;
if ((BYTE_ORDER != BIG_ENDIAN && (sizeof(time_t) == 4 || trans_width == 4)) ||
(BYTE_ORDER == BIG_ENDIAN && sizeof(time_t) == 8 && trans_width == 4)) {
if (BYTE_ORDER == BIG_ENDIAN ? sizeof(time_t) == 8 && trans_width == 4
: sizeof(time_t) == 4 || trans_width == 4) {
/* Decode the transition times, stored as 4-byte integers in
network (big-endian) byte order. We work from the end of
the array so as not to clobber the next element to be