]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Hygiene, trust __archive_read_ahead() and kick superfluous check.
authorSebastian Freundt <freundt@ga-group.nl>
Tue, 10 Jun 2014 11:15:42 +0000 (11:15 +0000)
committerSebastian Freundt <freundt@ga-group.nl>
Tue, 10 Jun 2014 11:15:42 +0000 (11:15 +0000)
commitb3cc3bcd93d7aa9724c38a7c8307a1376ad1f98c
tree9644232dc307308553e4a5f63693b8bf02a36df1
parent6e70844f13ed939bab77f3cd903440bcfe9adbec
Hygiene, trust __archive_read_ahead() and kick superfluous check.

Heeding Tim's advice, a non-NULL from __archive_read_ahead() is
guaranteed to be of at least the minimum size, therefore no need to
check for this condition again.
libarchive/archive_read_support_format_warc.c