mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-04-26 03:20:40 +00:00
Remove unreachable assignment to mtime.tv_nsec
Caught by Oracle Developer Studio 12.6 * src/incremen.c (read_incr_db_01): Remove unreachable code.
This commit is contained in:
@@ -1086,12 +1086,9 @@ read_incr_db_01 (bool version_1, char **pbuf, size_t *pbufsize)
|
||||
bool overflow;
|
||||
mtime.tv_nsec = stoint (strp, &ebuf, &overflow, 0, BILLION - 1);
|
||||
if ((ebuf == strp) | (*ebuf != ' ') | overflow)
|
||||
{
|
||||
paxfatal (0, "%s:%jd: %s",
|
||||
quotearg_colon (listed_incremental_option), lineno,
|
||||
_("Invalid modification time (nanoseconds)"));
|
||||
mtime.tv_nsec = -1;
|
||||
}
|
||||
paxfatal (0, "%s:%jd: %s",
|
||||
quotearg_colon (listed_incremental_option), lineno,
|
||||
_("Invalid modification time (nanoseconds)"));
|
||||
strp = ebuf;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user