Title: [124411] trunk/Source/WebCore
Revision
124411
Author
[email protected]
Date
2012-08-01 22:57:42 -0700 (Wed, 01 Aug 2012)

Log Message

Chromium Android build fix after r124402.
Initialize the out variables as suggested by the compiler.

* Modules/indexeddb/IDBLevelDBCoding.cpp:
(WebCore::IDBLevelDBCoding::DatabaseFreeListKey::decode):
(WebCore::IDBLevelDBCoding::DatabaseNameKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::decode):
(WebCore::IDBLevelDBCoding::IndexMetaDataKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::decode):
(WebCore::IDBLevelDBCoding::IndexFreeListKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::decode):
(WebCore::IDBLevelDBCoding::IndexNamesKey::decode):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (124410 => 124411)


--- trunk/Source/WebCore/ChangeLog	2012-08-02 05:53:47 UTC (rev 124410)
+++ trunk/Source/WebCore/ChangeLog	2012-08-02 05:57:42 UTC (rev 124411)
@@ -1,3 +1,18 @@
+2012-08-01  Ryosuke Niwa  <[email protected]>
+
+        Chromium Android build fix after r124402.
+        Initialize the out variables as suggested by the compiler.
+
+        * Modules/indexeddb/IDBLevelDBCoding.cpp:
+        (WebCore::IDBLevelDBCoding::DatabaseFreeListKey::decode):
+        (WebCore::IDBLevelDBCoding::DatabaseNameKey::decode):
+        (WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::decode):
+        (WebCore::IDBLevelDBCoding::IndexMetaDataKey::decode):
+        (WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::decode):
+        (WebCore::IDBLevelDBCoding::IndexFreeListKey::decode):
+        (WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::decode):
+        (WebCore::IDBLevelDBCoding::IndexNamesKey::decode):
+
 2012-08-01  Keishi Hattori  <[email protected]>
 
         Fix typo in colorSuggestionPicker.js

Modified: trunk/Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp (124410 => 124411)


--- trunk/Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp	2012-08-02 05:53:47 UTC (rev 124410)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBLevelDBCoding.cpp	2012-08-02 05:57:42 UTC (rev 124411)
@@ -970,7 +970,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == DatabaseFreeListTypeByte);
     if (p == limit)
@@ -1015,7 +1015,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == DatabaseNameTypeByte);
     if (p == limit)
@@ -1079,7 +1079,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == ObjectStoreMetaDataTypeByte);
     if (p == limit)
@@ -1154,7 +1154,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == IndexMetaDataTypeByte);
     if (p == limit)
@@ -1225,7 +1225,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == ObjectStoreFreeListTypeByte);
     if (p == limit)
@@ -1279,7 +1279,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == IndexFreeListTypeByte);
     if (p == limit)
@@ -1340,7 +1340,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == ObjectStoreNamesTypeByte);
     return decodeStringWithLength(p, limit, result->m_objectStoreName);
@@ -1378,7 +1378,7 @@
     ASSERT(!prefix.m_indexId);
     if (p == limit)
         return 0;
-    unsigned char typeByte;
+    unsigned char typeByte = 0;
     p = decodeByte(p, limit, typeByte);
     ASSERT_UNUSED(typeByte, typeByte == IndexNamesKeyTypeByte);
     if (p == limit)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to