mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 04:02:36 +00:00
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:
parent
df384965c3
commit
b3544f8ec1
@ -5851,7 +5851,7 @@ update_resize (MetaWindow *window,
|
||||
int new_w, new_h;
|
||||
int gravity;
|
||||
MetaRectangle old;
|
||||
double remaining;
|
||||
double remaining = 0;
|
||||
MetaMaximizeFlags new_unmaximize;
|
||||
|
||||
window->display->grab_latest_motion_x = x;
|
||||
|
Loading…
Reference in New Issue
Block a user