mouse: fix uninit var

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-23 13:20:01 +02:00
parent c0796d2259
commit 723299ff5f
1 changed files with 2 additions and 2 deletions

View File

@ -769,7 +769,7 @@ mouse_client_resize_tiled(client_t *c)
/* for each motion event */ /* for each motion event */
while(mouse_track_mouse_drag(&mouse_x, &mouse_y)) while(mouse_track_mouse_drag(&mouse_x, &mouse_y))
{ {
double mwfact, fact_x, fact_y; double mwfact = 0, fact_x, fact_y;
/* calculate new master / rest ratio */ /* calculate new master / rest ratio */
fact_x = (double) (mouse_x - area.x) / area.width; fact_x = (double) (mouse_x - area.x) / area.width;