Release build fix
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2007 01:29:03 +0000 (01:29 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Nov 2007 01:29:03 +0000 (01:29 +0000)
        * bindings/js/JSSQLTransactionCustom.cpp:
        (WebCore::JSSQLTransaction::executeSql):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27770 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/js/JSSQLTransactionCustom.cpp

index fdc232c5574b7718ac565a1a3219303d38000509..fa18776b64439687d816bc93d3668113b0d3a089 100644 (file)
@@ -1,3 +1,10 @@
+2007-11-13  Brady Eidson  <beidson@apple.com>
+
+        Release build fix
+
+        * bindings/js/JSSQLTransactionCustom.cpp:
+        (WebCore::JSSQLTransaction::executeSql):
+
 2007-11-13  Adam Roben  <aroben@apple.com>
 
         Add WindowMessageBroadcaster
index f3c1f62503b6d5ad46715419962a35915014bfdf..5414adbd4e76bc90ead6e63d5a085f7b66938e01 100644 (file)
@@ -72,7 +72,7 @@ JSValue* JSSQLTransaction::executeSql(ExecState* exec, const List& args)
 
     RefPtr<SQLStatementCallback> callback;
     if (args.size() > 2) {
-        JSObject* object;
+        JSObject* object = 0;
         if (!args[2]->isNull() && !(object = args[2]->getObject())) {
             setDOMException(exec, TYPE_MISMATCH_ERR);
             return jsUndefined();
@@ -84,7 +84,7 @@ JSValue* JSSQLTransaction::executeSql(ExecState* exec, const List& args)
     
     RefPtr<SQLStatementErrorCallback> errorCallback;
     if (args.size() > 3) {
-        JSObject* object;
+        JSObject* object = 0;
         if (!args[3]->isNull() && !(object = args[3]->getObject())) {
             setDOMException(exec, TYPE_MISMATCH_ERR);
             return jsUndefined();