Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a1b5cfdbcfae48185468d9a751ea0ad377bfe44
https://github.com/WebKit/WebKit/commit/1a1b5cfdbcfae48185468d9a751ea0ad377bfe44
Author: Yousuke Kimoto <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes