Fix [-Wunused-variable]
authorRemi Collet <fedora@famillecollet.com>
Fri, 10 Jan 2014 13:25:34 +0000 (14:25 +0100)
committerRemi Collet <fedora@famillecollet.com>
Fri, 10 Jan 2014 13:25:34 +0000 (14:25 +0100)
php_ircclient.c

index 3ac38ca10e761c6b6c3b72aaf5b3ac670dead789..06d3cc14240783467873658808fad47d48b83e07 100644 (file)
@@ -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);