Silence an uninitialized variable warning

This commit is contained in:
Turo Lamminen 2021-01-25 13:07:04 +02:00 committed by Daniel Gibson
parent 6186882d35
commit 03c2b379df

View file

@ -1164,6 +1164,7 @@ int idTraceModel::GetOrderedSilhouetteEdges( const int edgeIsSilEdge[MAX_TRACEMO
int i, j, edgeNum, numSilEdges, nextSilVert;
int unsortedSilEdges[MAX_TRACEMODEL_EDGES];
unsortedSilEdges[0] = 0;
numSilEdges = 0;
for ( i = 1; i <= numEdges; i++ ) {
if ( edgeIsSilEdge[i] ) {