From: Pierre Joye Date: Fri, 3 Oct 2008 16:20:56 +0000 (+0000) Subject: - MFB: Declarations MUST BE done in the beginning of a context X-Git-Tag: BEFORE_HEAD_NS_CHANGE~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=febc0cf611a3230b5d16952d20e35b120c96190d;p=php - MFB: Declarations MUST BE done in the beginning of a context --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 89bee8c58f..547b7f1e86 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -94,8 +94,8 @@ static int le_pmysqli; /* Destructor for mysqli entries in free_links/used_links */ void php_mysqli_dtor_p_elements(void *data) { - TSRMLS_FETCH(); MYSQL *mysql = (MYSQL *) data; + TSRMLS_FETCH(); mysqli_close(mysql, MYSQLI_CLOSE_IMPLICIT); }