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 b18766e259
commit 77824c9909

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] ) {