Skip to content

Commit

Permalink
Fixed used uninitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Mar 22, 2011
1 parent d068a0b commit 2e668d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/glw/glw_slider.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pointer_event(glw_t *w, glw_pointer_event_t *gpe)
glw_slider_t *s = (glw_slider_t *)w;
int hitpos = 0;
float v0 = w->glw_class == &glw_slider_x ? gpe->x : -gpe->y;
float v;
float v = 0;
float knob_pos;
float knob_size = (float)s->knob_size_px / s->slider_size_px;
int how = PROP_SET_NORMAL;
Expand Down

0 comments on commit 2e668d8

Please sign in to comment.