Bug 225137

Summary: Suppress warnings for %{private}s format specifier
Product: WebKit Reporter: Basuke Suzuki <Basuke.Suzuki>
Component: PlatformAssignee: Basuke Suzuki <Basuke.Suzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, Basuke.Suzuki, benjamin, cdumez, cmarcelo, ews-watchlist, fishd, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=207478
Attachments:
Description Flags
PATCH
none
PATCH none

Description Basuke Suzuki 2021-04-27 21:21:13 PDT
../../Source/WebKit\NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:3618:170: warning: using 'private' format specifier annotation outside of os_log()/os_trace() [-Wformat]
        RELEASE_LOG_ERROR_IF_ALLOWED(m_sessionID, "%p - ResourceLoadStatisticsDatabaseStore::markAttributedPrivateClickM
easurementsAsExpiredForTesting, error message: %{private}s", this, m_database.lastErrorMsg());

                                               ~~^~~~~~~~~
Comment 1 Basuke Suzuki 2021-04-27 21:31:52 PDT
Created attachment 427235 [details]
PATCH
Comment 2 Basuke Suzuki 2021-04-27 21:58:40 PDT
Created attachment 427236 [details]
PATCH
Comment 3 EWS 2021-04-28 16:22:26 PDT
Committed r276740 (237140@main): <https://commits.webkit.org/237140@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427236 [details].
Comment 4 Radar WebKit Bug Importer 2021-04-28 16:23:18 PDT
<rdar://problem/77291122>