From 83cad5835ff5bb1586308cf6d8f55e048953d938 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 14 Nov 2025 00:07:26 -0800 Subject: [PATCH] Remove unreachable assignment to mtime.tv_nsec Caught by Oracle Developer Studio 12.6 * src/incremen.c (read_incr_db_01): Remove unreachable code. --- src/incremen.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/incremen.c b/src/incremen.c index 7a8327d3..c4c9dd45 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -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 -- 2.47.3