From fd2130b970ba76592cac482fbcea260920cb3b86 Mon Sep 17 00:00:00 2001 From: Rose Date: Mon, 19 May 2025 15:16:18 -0400 Subject: [PATCH] *s != '\0' is redundant Not that this does anything to codegen probably, but it is still redundant. --- libarchive/archive_cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_cmdline.c b/libarchive/archive_cmdline.c index 2e5428cae..23bb05d64 100644 --- a/libarchive/archive_cmdline.c +++ b/libarchive/archive_cmdline.c @@ -71,7 +71,7 @@ get_argument(struct archive_string *as, const char *p) archive_string_empty(as); /* Skip beginning space characters. */ - while (*s != '\0' && *s == ' ') + while (*s == ' ') s++; /* Copy non-space characters. */ while (*s != '\0' && *s != ' ') { -- 2.47.2