]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Multiple code fixes and optimizations
authorMartin Matuska <martin@matuska.org>
Tue, 14 Jan 2020 13:40:11 +0000 (14:40 +0100)
committerMartin Matuska <martin@matuska.org>
Tue, 14 Jan 2020 15:59:55 +0000 (16:59 +0100)
commit77d0d190057d0be37215135c276d515ce82b06cd
tree351d65f4e539662f9acae147de7e066b3870c8fd
parenta11f15860ae39ecdc8173243a211cdafc8ac893c
Multiple code fixes and optimizations

archive_read_support_format_rar5.c:
  Bitfield int -> signed int

Archive_write_set_format_iso9660.c:
  Bitfield int -> signed int

archive_write_set_format_xar.c:
  Bitfield int -> signed int

archive_write_set_format_7zip.c:
  Bitfield int -> signed int

archive_read_support_format_xar.c
  Remove useless comparsion

archive_read_support_format_rar.c:
  Fix invalid nested loop break.
  Comment out dead code sections.
  Simplify size comparsions of lensymbol and offsymbol.

archive_read_support_filter_uu.c:
  Remove useless comparsions

archive_read_disk_posix.c:
  Remove useless do-while-zero

Found by LGTM.com code analysis
libarchive/archive_entry.c
libarchive/archive_read_disk_posix.c
libarchive/archive_read_support_filter_uu.c
libarchive/archive_read_support_format_rar.c
libarchive/archive_read_support_format_rar5.c
libarchive/archive_read_support_format_xar.c
libarchive/archive_write_set_format_7zip.c
libarchive/archive_write_set_format_iso9660.c
libarchive/archive_write_set_format_xar.c