gtkentry: Fix potential use of uninitialised variables

Found with scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
This commit is contained in:
Philip Withnall 2013-12-02 11:03:07 +00:00
parent 586240d2f8
commit 0282714d86

View File

@ -10616,7 +10616,7 @@ gtk_entry_set_progress_fraction (GtkEntry *entry,
GtkEntryPrivate *private; GtkEntryPrivate *private;
gdouble old_fraction; gdouble old_fraction;
gint x, y, width, height; gint x, y, width, height;
gint old_x, old_y, old_width, old_height; gint old_x = 0, old_y = 0, old_width = 0, old_height = 0;
gboolean was_pulse; gboolean was_pulse;
g_return_if_fail (GTK_IS_ENTRY (entry)); g_return_if_fail (GTK_IS_ENTRY (entry));