window: Placate new gcc

It thinks remaining can be used uninitialized. It's wrong, but let's
help it out by initializing the variable.
This commit is contained in:
Jasper St. Pierre 2014-10-23 16:03:46 -07:00
parent df384965c3
commit b3544f8ec1

View File

@ -5851,7 +5851,7 @@ update_resize (MetaWindow *window,
int new_w, new_h; int new_w, new_h;
int gravity; int gravity;
MetaRectangle old; MetaRectangle old;
double remaining; double remaining = 0;
MetaMaximizeFlags new_unmaximize; MetaMaximizeFlags new_unmaximize;
window->display->grab_latest_motion_x = x; window->display->grab_latest_motion_x = x;