]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Clarify crc32 variable names (#2367)
authorTim Kientzle <kientzle@acm.org>
Fri, 11 Oct 2024 06:13:00 +0000 (23:13 -0700)
committerGitHub <noreply@github.com>
Fri, 11 Oct 2024 06:13:00 +0000 (08:13 +0200)
commit35e630174e18442f3b1ec432cef78a5b9b6818aa
tree87336d49763259142ace8254af57774eb23678dd
parent41a2d01453e0245f8b391b082ab412e3fb0299c6
Clarify crc32 variable names (#2367)

No functional change, just a tiny style improvement.

Use `crc32_computed` to refer to the crc32 that the reader has computed
and `crc32_read` to refer to the value that we read from the archive.
That hopefully makes this code a tiny bit easier to follow. (It confused
me recently when I was double-checking something in this area, so I
thought an improvement here might help others.)
libarchive/archive_read_support_format_rar.c