Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #271134

Category None
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Mon 15 Jun 2026 14:43:09
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch master
Revision c8d8f081fd62c68c588f8963a8e441c730a23b5b

Comments

src/test: avoid (void)! constructs

The reason to use them seems to be that just (void) before a function
call is not enough to silence compiler warnings when return codes are
ignored and -Werror=unused-result is used.

While (void)! apparently works to silence those warnings, it is just too
weird and surprising to readers to use.

It is rather a reason to reconsider the usefulness of the warning.

Closes #22023

Changed files