summaryrefslogtreecommitdiff
path: root/src/glu/mesa/nurbsutl.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /src/glu/mesa/nurbsutl.c
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'src/glu/mesa/nurbsutl.c')
-rw-r--r--src/glu/mesa/nurbsutl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/nurbsutl.c b/src/glu/mesa/nurbsutl.c
index 516984b314..027f245827 100644
--- a/src/glu/mesa/nurbsutl.c
+++ b/src/glu/mesa/nurbsutl.c
@@ -1,4 +1,4 @@
-/* $Id: nurbsutl.c,v 1.3 2000/07/11 20:39:00 brianp Exp $ */
+/* $Id: nurbsutl.c,v 1.4 2000/11/10 17:23:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -130,7 +130,7 @@ set_new_t_min_t_max(knot_str_type * geom_knot, knot_str_type * color_knot,
knot_str_type * normal_knot, knot_str_type * texture_knot,
GLfloat maximal_min_knot, GLfloat minimal_max_knot)
{
- GLuint t_min, t_max, cnt;
+ GLuint t_min = 0, t_max = 0, cnt = 0;
if (minimal_max_knot - maximal_min_knot < EPSILON) {
/* knot common range empty */