summaryrefslogtreecommitdiffstats
path: root/src/glu/mesa/nurbscrv.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
committerBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /src/glu/mesa/nurbscrv.c
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'src/glu/mesa/nurbscrv.c')
-rw-r--r--src/glu/mesa/nurbscrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glu/mesa/nurbscrv.c b/src/glu/mesa/nurbscrv.c
index a9ff4f28671..5bde023275f 100644
--- a/src/glu/mesa/nurbscrv.c
+++ b/src/glu/mesa/nurbscrv.c
@@ -1,4 +1,4 @@
-/* $Id: nurbscrv.c,v 1.2 2000/07/11 14:11:04 brianp Exp $ */
+/* $Id: nurbscrv.c,v 1.3 2000/11/10 17:23:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -359,7 +359,7 @@ do_nurbs_curve(GLUnurbsObj * nobj)
GLint n_ctrl;
GLfloat *new_geom_ctrl, *new_color_ctrl, *new_normal_ctrl,
*new_texture_ctrl;
- GLfloat *geom_ctrl, *color_ctrl, *normal_ctrl, *texture_ctrl;
+ GLfloat *geom_ctrl = 0, *color_ctrl = 0, *normal_ctrl = 0, *texture_ctrl = 0;
GLint *factors;
GLint i, j;
GLint geom_dim, color_dim = 0, normal_dim = 0, texture_dim = 0;