mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +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 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user