mirror of
https://github.com/postgres/postgres.git
synced 2026-03-04 22:32:20 -05:00
An unused variable caused a compiler warning on BF animal fairywren, an
snprintf() call was redundant, and some buffer sizes were inconsistent.
Per code review from Tom Lane.
The Makefile's test ifeq ($(PORTNAME), win32) never succeeded due to a
circularity, so only Meson builds were actually compiling the new test
code, partially explaining why CI didn't tell us about the warning
sooner (the other problem being that CompilerWarnings only makes
world-bin, a problem for another commit). Simplify.
Backpatch-through: 16, like commit
|
||
|---|---|---|
| .. | ||
| t | ||
| Makefile | ||
| meson.build | ||
| test_cloexec.c | ||