mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gtkthemingengine: Eliminate a dead assignment
This is technically a dead assignment, but is nice to retain for clarity. Moving it to the variable definition shuts scan-build up. https://bugzilla.gnome.org/show_bug.cgi?id=712760
This commit is contained in:
parent
5c5390f74b
commit
1adf0becc2
@ -2058,10 +2058,9 @@ gtk_theming_engine_render_frame_gap (GtkThemingEngine *engine,
|
||||
GtkStateFlags state;
|
||||
gint border_width;
|
||||
GtkCssValue *corner[4];
|
||||
gdouble x0, y0, x1, y1, xc, yc, wc, hc;
|
||||
gdouble x0, y0, x1, y1, xc = 0.0, yc = 0.0, wc = 0.0, hc = 0.0;
|
||||
GtkBorder border;
|
||||
|
||||
xc = yc = wc = hc = 0;
|
||||
state = gtk_theming_engine_get_state (engine);
|
||||
junction = gtk_theming_engine_get_junction_sides (engine);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user