Bug 260884

Summary: LOG_WITH_LEVEL macro is broken
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: Web Template FrameworkAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: 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=235562

Jean-Yves Avenard [:jya]
Reported 2023-08-29 16:14:17 PDT
regressed by bug 235562. ``` #define LOG_WITH_LEVEL(channel, level, ...) do { \ if (LOG_CHANNEL(channel).state != logChannelStateOff && channel->level >= (level)) \ WTFLogWithLevel(&LOG_CHANNEL(channel), level, __VA_ARGS__); \ } while (0) ``` the macro is attempting to dereference `channel` ; but it's not a pointer.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-29 16:14:35 PDT
Jean-Yves Avenard [:jya]
Comment 2 2023-08-30 02:52:16 PDT
*** This bug has been marked as a duplicate of bug 260897 ***
Note You need to log in before you can comment on or make changes to this bug.