Re: Casting printf(3) to void
"G. Branden Robinson" <[email protected]>
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <20260222220516.y6n3qofi6roxpgnp@illithid> |
[self-follow-up to clarify]
At 2026-02-22T15:32:07-0600, G. Branden Robinson wrote:
> Now that you cite the specific commit, I see what you're talking
> about.
To be fair, you did cite the specific commit in your OP, but did not
offer a very focussed critique.
>> I've been updating code to remove those casts, because they don't do
>> much good. It's essentially just noise.
Thinking only of {f,}printf() cases, I leapt into battle, and promptly
forgot about the commit you mentioned.
It seems we're closer to agreement on return-value discard of
s*printf()-family functions.
But possibly remain as far apart as ever regarding {f,}printf().
Regards,
Branden
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmmbfZUACgkQ0Z6cfXEm bc4qQw//YsQ7t6XLTYsQAY2u9eAYSZqL0MxwhKEa8YvdUgsZWURRifEGpHYQqT11 iOYaup3bih+MO83f1sULeKRW7VgTbHCYJtWE3S7eyInluZ1id5C61/FbP16Pwm0T 4S0h+T6S4GgemoLs15NQfufndH9wj7PdS09hommbjpfEUrTXEojUgkIZFhjQRhRg PJkYvMJdR3xbFn95CWRHBgVDKlfUOEBo7drMaDOMmIcbS2e+iCjTqN99I4JNXX9y Q+iQYkDN7IH8q78Bcyo6mPiLTi3rM6Z4H1ADOaZwJV3CzZN1RLXAEnSwgwzgmXrK IQeFbfgOREuWr0g+DzIMYDpBHCf2rcT4PjVAIHPsHbTzIgWv0oEPB/dLEC0Ql5LP qek23L87CqDqCAoQgm31n5zsjgyRD7FzughWryUHgVuiSr2JflwKA3SzSIaFg4Z6 WoSCFtxtLCHZP7eWvRRuuUIncm6pEWCbI6GGq0NbuTSKkYiPnwz0X39vT11Vgv+U PoZGSOP9rbaNscSC6pg00EW+Af9aobAEtsc4oAAXiS1UqkvIQhwdNAg+2+tAXHzo JU38+8M32PkzCx0E9Z/Iluvk0ln+iReKcnGAetQLvPIElgYU4q3OX/3GXe8Dybk2 Rm9hTzmcBwCHGNP8qZx8DOaoaYRryUgN4es72X8jPiMeNFyedFg= =V2Nn -----END PGP SIGNATURE-----