summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-08-02 15:30:58 +0000
committerAndrey Hristov <andrey@php.net>2011-08-02 15:30:58 +0000
commit395ebb5c8b11af9403f7de6b597190f34584da08 (patch)
tree214b34d8b80ddef298bc94ccb4e06a16b87de9d7
parent4a7bf95c904a9f6cc998822da3e7df732e45ef4c (diff)
downloadphp-git-395ebb5c8b11af9403f7de6b597190f34584da08.tar.gz
Remove a warning by explicitly compiling out a non-used variable
-rw-r--r--ext/mysqli/mysqli_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 7e28cce269..4d1a255b29 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -2233,7 +2233,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;