mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 12:11:07 +00:00
Silence an uninitialized variable warning
This commit is contained in:
parent
6186882d35
commit
03c2b379df
1 changed files with 1 additions and 0 deletions
|
@ -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] ) {
|
||||
|
|
Loading…
Reference in a new issue