write: prefer ARCHIVE_OK over literal in set_bytes_per_block

This commit is contained in:
Dustin L. Howett committed 2026-07-10 20:26:37 -05:00
1 parent abfcfabbe7
commit bf4c5688d8
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ archive_write_set_bytes_per_block(struct archive *_a, int bytes_per_block)
if (bytes_per_block < 0) {
// Do nothing if the bytes_per_block is negative
return 0;
return ARCHIVE_OK;
}
a->bytes_per_block = bytes_per_block;
return (ARCHIVE_OK);