Bug 225137 - Suppress warnings for %{private}s format specifier
Summary: Suppress warnings for %{private}s format specifier
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Basuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-27 21:21 PDT by Basuke Suzuki
Modified: 2021-04-28 16:23 PDT (History)
8 users (show)

See Also:


Attachments
PATCH (73.17 KB, patch)
2021-04-27 21:31 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff
PATCH (77.70 KB, patch)
2021-04-27 21:58 PDT, Basuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>