From f43e9a636561965afc341dee35f19de6c53efaa6 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 24 Dec 2009 16:21:59 +0000 Subject: [PATCH] fix a warning about possibly uninitialized variables git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9676 d7cf8633-e32d-0410-b094-e92efae38249 --- curves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curves.c b/curves.c index ba7e129a..17d1b942 100644 --- a/curves.c +++ b/curves.c @@ -336,7 +336,7 @@ int Q3PatchAdjustTesselation(int numcomponents, patchinfo_t *patch1, float *patc struct {int id1,id2;} commonverts[8]; int i, j, k, side1, side2, *tess1, *tess2; - int dist1, dist2; + int dist1 = 0, dist2 = 0; qboolean modified = false; // Potential paired vertices (corners of the first patch) -- 2.39.2