diff options
author | Andrey Hristov <andrey@php.net> | 2011-08-02 15:30:58 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-08-02 15:30:58 +0000 |
commit | 45867c1750609014d8ac9e1d5ea22841ef3a943e (patch) | |
tree | 7d8817a47a7c21b781f52c94cabf59b1729e3405 | |
parent | 71cb8322f525449db95749e9f6f0ffcdfc8011c5 (diff) | |
download | php-git-45867c1750609014d8ac9e1d5ea22841ef3a943e.tar.gz |
Remove a warning by explicitly compiling out a non-used variable
-rw-r--r-- | ext/mysqli/mysqli_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index e5fc756a37..041875480c 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -2237,7 +2237,9 @@ PHP_FUNCTION(mysqli_stmt_attr_set) MY_STMT *stmt; zval *mysql_stmt; long mode_in; +#if MYSQL_VERSION_ID >= 50107 my_bool mode_b; +#endif ulong mode; ulong attr; void *mode_p; |