[Webkit-unassigned] [Bug 229540] New: [GTK] Compiler output flooded with [-Wunused-but-set-variable warning]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 26 00:46:42 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229540

            Bug ID: 229540
           Summary: [GTK] Compiler output flooded with
                    [-Wunused-but-set-variable warning]
           Product: WebKit
           Version: Other
          Hardware: All
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Minor
          Priority: P3
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: thomas.devoogdt at gmail.com

Hi,

I get a lot of warnings when building webkitgtk (2.30.6) with buildroot (2021.02.4)

This particular warning "warning: variable ‘success’ set but not used" occurs in total 61417 times, which flooding the compiler output logs. Probably due to the UNLIKELY define.

```
build/output/build/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/Vector.h:1065:14: warning: variable ‘success’ set but not used [-Wunused-but-set-variable]
```

Is it possible to force the usage of ‘success’ by adding a `(void)success;` line.
Or by suppressing those warnings ...?

kr, 
Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210826/e06d4c86/attachment.htm>


More information about the webkit-unassigned mailing list