iliaa           Sun Jan  4 16:32:05 2009 UTC

  Modified files:              
    /php-src/ext/sqlite3        sqlite3.c 
  Log:
  
  MFB: Added missing initialization
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite3/sqlite3.c?r1=1.26&r2=1.27&diff_format=u
Index: php-src/ext/sqlite3/sqlite3.c
diff -u php-src/ext/sqlite3/sqlite3.c:1.26 php-src/ext/sqlite3/sqlite3.c:1.27
--- php-src/ext/sqlite3/sqlite3.c:1.26  Sat Jan  3 22:07:22 2009
+++ php-src/ext/sqlite3/sqlite3.c       Sun Jan  4 16:32:05 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: sqlite3.c,v 1.26 2009/01/03 22:07:22 felipe Exp $ */
+/* $Id: sqlite3.c,v 1.27 2009/01/04 16:32:05 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -72,7 +72,7 @@
        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);
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to