mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 12:41:48 +00:00
Silence an uninitialized variable warning
This commit is contained in:
parent
18697fd998
commit
c8104f1634
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 i, j, edgeNum, numSilEdges, nextSilVert;
|
||||||
int unsortedSilEdges[MAX_TRACEMODEL_EDGES];
|
int unsortedSilEdges[MAX_TRACEMODEL_EDGES];
|
||||||
|
|
||||||
|
unsortedSilEdges[0] = 0;
|
||||||
numSilEdges = 0;
|
numSilEdges = 0;
|
||||||
for ( i = 1; i <= numEdges; i++ ) {
|
for ( i = 1; i <= numEdges; i++ ) {
|
||||||
if ( edgeIsSilEdge[i] ) {
|
if ( edgeIsSilEdge[i] ) {
|
||||||
|
|
Loading…
Reference in a new issue