From 3fa1fd075120e0dddb412da11388488648dc6d70 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 27 Jul 2024 00:26:15 -0700 Subject: [PATCH] Pacify gcc 14 -Wanalyzer-null-argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * src/tar.c (optloc_eq): Add another ‘assume’. --- src/tar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tar.c b/src/tar.c index d4067d56..0c31f156 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1053,6 +1053,7 @@ optloc_eq (struct option_locus *a, struct option_locus *b) return 0; if (a->source == OPTS_COMMAND_LINE) return 1; + assume (a->name); return strcmp (a->name, b->name) == 0; }