[php-src] PR #15646: Fix -Wunused-function warning in ext/pdo_firebird
| From: | petk | Date: | Thu, 29 Aug 2024 22:26:44 +0000 |
| Subject: | [php-src] PR #15646: Fix -Wunused-function warning in ext/pdo_firebird | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28283@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15646
Author: petk
When FB_API_VER equals to 30, for example, on Ubuntu, there is this warning thrown with certain
compiler configurations:
/php-src/ext/pdo_firebird/pdo_firebird_utils.cpp:21:13: warning:
‘void fb_copy_status(const ISC_STATUS*, ISC_STATUS*, size_t)’
defined but not used [-Wunused-function]
21 | static void fb_copy_status(const ISC_STATUS* from, ISC_STATUS* to, size_t maxLength)
| ^~~~~~~~~~~~~~