]> granicus.if.org Git - php/commitdiff
initialize var
authorAntony Dovgal <tony2001@php.net>
Thu, 27 Jul 2006 08:00:54 +0000 (08:00 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 27 Jul 2006 08:00:54 +0000 (08:00 +0000)
ext/pdo/pdo_dbh.c

index fa71a69ea7adf43b59a8c1d399c27f982aafbe25..c82bb47c335612331d5835aac5cceea1fc971a97 100755 (executable)
@@ -274,7 +274,7 @@ static PHP_METHOD(PDO, dbh_constructor)
        /* is this supposed to be a persistent connection ? */
        if (options) {
                zval **v;
-               int plen;
+               int plen = 0;
                char *hashkey = NULL;
                zend_rsrc_list_entry *le;
                pdo_dbh_t *pdbh = NULL;