com php-src: remove unreferenced var came in with merge: ext/wddx/wddx.c
| From: | Anatol Belski | Date: | Tue, 08 Nov 2016 11:59:12 +0000 |
| Subject: | com php-src: remove unreferenced var came in with merge: ext/wddx/wddx.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95450@lists.php.net to get a copy of this message | ||
Commit: 44c55ec1388e0e0783baa3b130fc0a1c6b81d8c9
Author: Anatol Belski <ab@php.net> Tue, 1 Nov 2016 12:55:05 +0100
Parents: 9e1bc792df55712850b705d2d1379742a37c7c4a
Branches: PHP-7.0.13
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=44c55ec1388e0e0783baa3b130fc0a1c6b81d8c9
Log:
remove unreferenced var came in with merge
(cherry picked from commit 6b21c28b0e82d760f0c3c4da89dae8d2fb685e1b)
Changed paths:
M ext/wddx/wddx.c
Diff:
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 11b66f1..e21d178 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -499,8 +499,6 @@ static void php_wddx_serialize_object(wddx_packet *packet, zval *obj)
php_wddx_add_chunk_static(packet, WDDX_STRUCT_E);
}
} else {
- uint key_len;
-
php_wddx_add_chunk_static(packet, WDDX_STRUCT_S);
snprintf(tmp_buf, WDDX_BUF_LEN, WDDX_VAR_S, PHP_CLASS_NAME_VAR);
php_wddx_add_chunk(packet, tmp_buf);