summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-01-04 16:32:05 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-01-04 16:32:05 +0000
commit02b2b42a01a35010a07314b91064028706e5d60c (patch)
tree54fc97f08842a9d6300d7a735cfd0279679046dc
parentdac8ee1cb6adeeaa0bf28be5caf8c1c082181250 (diff)
downloadphp-git-02b2b42a01a35010a07314b91064028706e5d60c.tar.gz
MFB: Added missing initialization
-rw-r--r--ext/sqlite3/sqlite3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c
index 8d65af677a..f93f8c9fcf 100644
--- a/ext/sqlite3/sqlite3.c
+++ b/ext/sqlite3/sqlite3.c
@@ -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);