--- src/glutwidgets.c.orig 2000-03-01 04:28:21 UTC +++ src/glutwidgets.c @@ -254,7 +254,6 @@ glut_reshape_func (int width, int height) widget->x -= (width - screen_width) / 2; widget->width += (width - screen_width); break; - default: } switch (widget->anchor & GR_VERTICAL_MASK) { case GR_BOTTOM: @@ -267,7 +266,6 @@ glut_reshape_func (int width, int height) widget->y -= (height - screen_height) / 2; widget->height += (width - screen_height); break; - default: } glut_widget_calc_bbox (widget); } @@ -325,8 +323,6 @@ glut_keyboard_func (unsigned char key, int x, int y) glut_widget_set_focus (glut_next_focus_widget (NULL)); } break; - - default: } } @@ -502,8 +498,6 @@ glut_special_func (int key, int x, int y) glut_widget_set_focus (widget); } break; - - default: } } @@ -1297,8 +1291,6 @@ default_button_keyboard (GlutObject obj, unsigned char } glut_post_redisplay (); break; - - default: } } @@ -1569,8 +1561,6 @@ default_label_display (GlutObject obj) case GR_RIGHT: width = glut_label_width (obj) / 2; break; - - default: } glColor4fv (widget->fg_color[GR_STATE_NORMAL]);