[webkit-changes] [WebKit/WebKit] 1a1b5c: Fix unused param warning in NetworkStorageManager
ykimot
noreply at github.com
Thu Apr 13 23:39:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a1b5cfdbcfae48185468d9a751ea0ad377bfe44
https://github.com/WebKit/WebKit/commit/1a1b5cfdbcfae48185468d9a751ea0ad377bfe44
Author: Yousuke Kimoto <yousuke.kimoto at sony.com>
Date: 2023-04-13 (Thu, 13 Apr 2023)
Changed paths:
M Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp
Log Message:
-----------
Fix unused param warning in NetworkStorageManager
https://bugs.webkit.org/show_bug.cgi?id=255436
Reviewed by Chris Dumez.
If RELEASE_LOG() is desiabled, `deletedOriginCount` is not used in
NetworkStorageManager::performEviction() because 'deletedOriginCount`
is only used for a debug print purpose. Though `deletedOriginCount` is
incremented, compilers' optimization omits the variable.
* Source/WebKit/NetworkProcess/storage/NetworkStorageManager.cpp: Add UNUSED_PARAM for `deletedOriginCount` next to the RELEASE_LOG.
(WebKit::NetworkStorageManager::performEviction):
Canonical link: https://commits.webkit.org/262946@main
More information about the webkit-changes
mailing list