unused variable error in widget/gtk/gtk2drawing.c: 1812 : arrow_size

RESOLVED WORKSFORME

Status

()

Core
Widget: Gtk
RESOLVED WORKSFORME
a year ago
a year ago

People

(Reporter: ewong, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
+++ This bug was initially created as a clone of Bug #1344529 +++

During building of 2.48b1, and if assuming the patch from
bug 1343781 is accepted, we'll encounter this error:

In file included from /builds/slave/rel-c-beta-lnx-bld/build/objdir/widget/gtk/Unified_c_widget_gtk0.c:2:0:
4500 /builds/slave/rel-c-beta-lnx-bld/build/mozilla/widget/gtk/gtk2drawing.c: In function 'moz_gtk_combo_box_paint':
4501 /builds/slave/rel-c-beta-lnx-bld/build/mozilla/widget/gtk/gtk2drawing.c:1812:10: error: unused variable 'arrow_size' [-Werror=unused-variable]
4502      gint arrow_size, separator_width;
4503           ^
4504 cc1: all warnings being treated as errors
4505 make[4]: *** [Unified_c_widget_gtk0.o] Error 1
4506 make[4]: Leaving directory `/builds/slave/rel-c-beta-lnx-bld/build/objdir/widget/gtk'
4507 make[3]: *** [widget/gtk/target] Error 2
4508 make[3]: *** Waiting for unfinished jobs....
(Reporter)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.