<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>229540</bug_id>
          
          <creation_ts>2021-08-26 00:46:42 -0700</creation_ts>
          <short_desc>[GTK] Compiler output flooded with [-Wunused-but-set-variable warning]</short_desc>
          <delta_ts>2021-08-26 00:46:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Template Framework</component>
          <version>Other</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Devoogdt">thomas.devoogdt</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1787497</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Devoogdt">thomas.devoogdt</who>
    <bug_when>2021-08-26 00:46:42 -0700</bug_when>
    <thetext>Hi,

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

This particular warning &quot;warning: variable ‘success’ set but not used&quot; 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>