]> granicus.if.org Git - php/commitdiff
MFB: Added missing initialization
authorIlia Alshanetsky <iliaa@php.net>
Sun, 4 Jan 2009 16:32:05 +0000 (16:32 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 4 Jan 2009 16:32:05 +0000 (16:32 +0000)
ext/sqlite3/sqlite3.c

index 8d65af677accd8b2288a37f60aa3f36da2570fde..f93f8c9fcf3cccb7a5c3ea30a18ed60da60e597e 100644 (file)
@@ -72,7 +72,7 @@ PHP_METHOD(sqlite3, open)
        zval *object = getThis();
        char *filename, *encryption_key, *fullpath;
        zend_uchar filename_type;
-       int filename_len, encryption_key_len;
+       int filename_len, encryption_key_len = 0;
        long flags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE;
        db_obj = (php_sqlite3_db_object *)zend_object_store_get_object(object TSRMLS_CC);