From 24b5f44bc87af654f5fda5b8c347a88c03abba7a Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 7 Jun 2024 01:01:31 +0000 Subject: tpax_archive_enqueue_dir_entries(): negativity of nbytes already ruled out. --- src/logic/tpax_archive_enqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/tpax_archive_enqueue.c b/src/logic/tpax_archive_enqueue.c index 1b45a2f..4f5683d 100644 --- a/src/logic/tpax_archive_enqueue.c +++ b/src/logic/tpax_archive_enqueue.c @@ -327,7 +327,7 @@ static int tpax_archive_enqueue_dir_entries( uctx); /* iterate */ - for (; nbytes>0; ) { + for (; nbytes; ) { if (!strcmp(dirent->d_name,".")) { (void)0; -- cgit v1.2.3