From: Dustin L. Howett Date: Fri, 10 Jul 2026 23:43:16 +0000 (-0500) Subject: iso9660: prefer ARCHIVE_OK over literal in gen*identifier X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abfcfabbe77ed1389490379ddbd3d2ab9b5a4da4;p=thirdparty%2Flibarchive.git iso9660: prefer ARCHIVE_OK over literal in gen*identifier --- diff --git a/libarchive/archive_write_set_format_iso9660.c b/libarchive/archive_write_set_format_iso9660.c index ab77763fa..c267eca11 100644 --- a/libarchive/archive_write_set_format_iso9660.c +++ b/libarchive/archive_write_set_format_iso9660.c @@ -6014,7 +6014,7 @@ isoent_gen_iso9660_identifier(struct archive_write *a, struct isoent *isoent, const int null_size = 1; if (isoent->children.cnt == 0) - return (0); + return (ARCHIVE_OK); iso9660 = a->format_data; char_map = idr->char_map; @@ -6271,7 +6271,7 @@ isoent_gen_joliet_identifier(struct archive_write *a, struct isoent *isoent, const int null_size = 2; if (isoent->children.cnt == 0) - return (0); + return (ARCHIVE_OK); iso9660 = a->format_data; if (iso9660->opt.joliet == OPT_JOLIET_LONGNAME)