From 465cb3ce3ff85248620adba57f1dab5123febd84 Mon Sep 17 00:00:00 2001 From: Pan7 Date: Tue, 15 Aug 2017 22:21:05 +0200 Subject: [PATCH] Q3data: Fix warning variable psets is used uninitialized --- tools/quake3/q3data/polyset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/quake3/q3data/polyset.c b/tools/quake3/q3data/polyset.c index d8a9f617..e02705df 100644 --- a/tools/quake3/q3data/polyset.c +++ b/tools/quake3/q3data/polyset.c @@ -89,6 +89,7 @@ polyset_t *Polyset_LoadSets( const char *file, int *numpolysets, int maxTrisPerS } else{ Error( "TRI files no longer supported" ); + return; } // TRI_LoadPolysets( file, &psets, numpolysets );