RESOLVED FIXED 210423
Add WARN_UNUSED_RETURN to decode methods in Source/WebKit
https://bugs.webkit.org/show_bug.cgi?id=210423
Summary Add WARN_UNUSED_RETURN to decode methods in Source/WebKit
David Kilzer (:ddkilzer)
Reported 2020-04-13 07:37:33 PDT
Add WARN_UNUSED_RETURN to decode methods in Source/WebKit. Found via: $ ./Tools/Scripts/check-webkit-style --filter=-,+security/missing_warn_unused_return Source/WebKit NOTE: Not every change is relate to CoreIPC decoding, but they're all decode methods that return bool. Also found a couple platformDecode() methods, so will update check-webkit-style.
Attachments
Patch v1 (61.72 KB, patch)
2020-04-13 07:44 PDT, David Kilzer (:ddkilzer)
no flags
Radar WebKit Bug Importer
Comment 1 2020-04-13 07:37:54 PDT
David Kilzer (:ddkilzer)
Comment 2 2020-04-13 07:38:52 PDT
Note: No issues were found. This is to add WARN_UNUSED_RETURN to decode methods returning `bool` to prevent future bugs.
David Kilzer (:ddkilzer)
Comment 3 2020-04-13 07:44:43 PDT
Created attachment 396273 [details] Patch v1
EWS
Comment 4 2020-04-13 10:48:28 PDT
Committed r260025: <https://trac.webkit.org/changeset/260025> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396273 [details].
Note You need to log in before you can comment on or make changes to this bug.