[php-src] PR #15056: Autotools: Fix unused result and variables warnings in flush IO check
| From: | petk | Date: | Sun, 21 Jul 2024 23:57:27 +0000 |
| Subject: | [php-src] PR #15056: Autotools: Fix unused result and variables warnings in flush IO check | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27410@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15056
Author: petk
- exit() replaced with regular return since these two behave the same in main()
- main(void) used as argc and argv aren't used
- if sentences wrapped in curly brackets for readability
- fgets wrapped in if to check for the return result and omit the "ignoring return value of
'fgets' declared with attribute 'warn_unused_result'..." warnings in the
config.log