From: Remi Collet Date: Fri, 10 Jan 2014 13:25:34 +0000 (+0100) Subject: Fix [-Wunused-variable] X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4972a9a46a1ffa16bc29787ca5ec94e4f69b015f;p=m6w6%2Fext-ircclient Fix [-Wunused-variable] --- diff --git a/php_ircclient.c b/php_ircclient.c index 3ac38ca..06d3cc1 100644 --- a/php_ircclient.c +++ b/php_ircclient.c @@ -418,7 +418,7 @@ PHP_METHOD(Session, doConnect) if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bs|ls!", &ip6, &server_str, &server_len, &port, &passwd_str, &passwd_len)) { php_ircclient_session_object_t *obj = zend_object_store_get_object(getThis() TSRMLS_CC); char *nick = NULL, *user = NULL, *real = NULL; - zval *znick, *zuser, *zreal, *tmp; + zval *znick, *zuser, *zreal; znick = zend_read_property(php_ircclient_session_class_entry, getThis(), ZEND_STRL("nick"), 0 TSRMLS_CC); SEPARATE_ARG_IF_REF(znick);