[PATCH 0/3] Fix SunCC compiler complaints new in v2.35.0-rc0
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 11, 2022, 16:40 UTC
- Message-ID
- <cover-0.3-00000000000-20220111T163908Z-avarab@gmail.com>
This trivial set of patches fixes compiler complaints from SunCC on Solaris that are new in v2.35.0-rc0.
The first two are only a minor annoyance, and not the first or only warnings of those categories that we emit, but if we can avoid adding new ones...
The third one is a generic integer overflow bug, and will probably result in logic errors or failures in the reftable tests on some other platform.
Ævar Arnfjörð Bjarmason (3): test-tool genzeros: initialize "zeros" to avoid SunCC warning reftable: remove unreachable "return" statements reftable tests: avoid "int" overflow, use "uint64_t"
reftable/merged_test.c | 4 ++-- reftable/refname.c | 1 - reftable/writer.c | 1 - t/helper/test-genzeros.c | 3 +-- 4 files changed, 3 insertions(+), 6 deletions(-)
-- 2.35.0.rc0.844.gb5945183dcf