Title: [239736] trunk/Source/WebKit
Revision
239736
Author
mcatanz...@igalia.com
Date
2019-01-08 12:21:06 -0800 (Tue, 08 Jan 2019)

Log Message

Unreviewed, silence -Wformat warnings

* NetworkProcess/NetworkHTTPSUpgradeChecker.cpp:
(WebKit::NetworkHTTPSUpgradeChecker::NetworkHTTPSUpgradeChecker):
(WebKit::NetworkHTTPSUpgradeChecker::query):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (239735 => 239736)


--- trunk/Source/WebKit/ChangeLog	2019-01-08 20:12:38 UTC (rev 239735)
+++ trunk/Source/WebKit/ChangeLog	2019-01-08 20:21:06 UTC (rev 239736)
@@ -1,3 +1,11 @@
+2019-01-08  Michael Catanzaro  <mcatanz...@igalia.com>
+
+        Unreviewed, silence -Wformat warnings
+
+        * NetworkProcess/NetworkHTTPSUpgradeChecker.cpp:
+        (WebKit::NetworkHTTPSUpgradeChecker::NetworkHTTPSUpgradeChecker):
+        (WebKit::NetworkHTTPSUpgradeChecker::query):
+
 2019-01-08  Alex Christensen  <achristen...@webkit.org>
 
         Unreviewed, rolling out r239727.

Modified: trunk/Source/WebKit/NetworkProcess/NetworkHTTPSUpgradeChecker.cpp (239735 => 239736)


--- trunk/Source/WebKit/NetworkProcess/NetworkHTTPSUpgradeChecker.cpp	2019-01-08 20:12:38 UTC (rev 239735)
+++ trunk/Source/WebKit/NetworkProcess/NetworkHTTPSUpgradeChecker.cpp	2019-01-08 20:21:06 UTC (rev 239736)
@@ -65,7 +65,9 @@
 
         bool isDatabaseOpen = m_database->open(path);
         if (!isDatabaseOpen) {
+#if PLATFORM(COCOA)
             RELEASE_LOG_ERROR(Network, "%p - NetworkHTTPSUpgradeChecker::open failed, error message: %{public}s, database path: %{public}s", this, m_database->lastErrorMsg(), path.utf8().data());
+#endif
             ASSERT_NOT_REACHED();
             return;
         }
@@ -100,7 +102,9 @@
 
         int stepResult = m_statement->step();
         if (stepResult != SQLITE_ROW && stepResult != SQLITE_DONE) {
+#if PLATFORM(COCOA)
             RELEASE_LOG_ERROR_IF_ALLOWED(sessionID, "step failed with error code %d, error message: %{public}s, database path: %{public}s", stepResult, m_database->lastErrorMsg(), networkHTTPSUpgradeCheckerDatabasePath().utf8().data());
+#endif
             ASSERT_NOT_REACHED();
             RunLoop::main().dispatch([callback = WTFMove(callback)] () mutable {
                 callback(false);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to