From 289c7a92093bb1451fc665cb33f235d911eea413 Mon Sep 17 00:00:00 2001 From: sajt Date: Tue, 9 Oct 2007 22:19:31 +0000 Subject: [PATCH] shut up compiler warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7623 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model_brush.c b/model_brush.c index 806c9f12..4419e792 100644 --- a/model_brush.c +++ b/model_brush.c @@ -828,6 +828,8 @@ static void Mod_Q1BSP_TraceBox(struct model_s *model, int frame, trace_t *trace, float vdist, dist; int vdisti = 0; + vdist = 0; // shut up compiler warning + // find the closest hull size (this algorithm probably sucks, a qc field to override it might be in order...) for (i = 1; i < model->brushq1.numhulls; i++) { -- 2.39.2