summaryrefslogtreecommitdiff
path: root/php/src/php7/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'php/src/php7/Util.cpp')
-rw-r--r--php/src/php7/Util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/src/php7/Util.cpp b/php/src/php7/Util.cpp
index 352d0f63509..b5434324078 100644
--- a/php/src/php7/Util.cpp
+++ b/php/src/php7/Util.cpp
@@ -335,6 +335,7 @@ IcePHP::extractStringMap(zval* zv, map<string, string>& ctx)
}
ctx[key->val] = Z_STRVAL_P(val);
+ (void)num_key; // Avoids error from older versions of GCC about unused variable num_key.
}
ZEND_HASH_FOREACH_END();