Sfoglia il codice sorgente

cmGr.c:Fixed unintialized variable 'rc' in cmGrWorldExt().

master
kevin 11 anni fa
parent
commit
b6e7cd4214
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      cmGr.c

+ 1
- 1
cmGr.c Vedi File

@@ -1208,7 +1208,7 @@ void cmGrObjWorldExt( cmGrObjH_t oh, cmGrVExt_t* wext )
1208 1208
 
1209 1209
 cmGrRC_t cmGrObjSetWorldLimitExt( cmGrH_t h, cmGrObjH_t oh, const cmGrVExt_t* vext, unsigned limitFlags )
1210 1210
 {
1211
-  cmGrRC_t rc;
1211
+  cmGrRC_t rc = kOkGrRC;
1212 1212
   cmGrObj_t* op = _cmGrObjHandleToPtr(oh);
1213 1213
 
1214 1214
   // store the current world extents

Loading…
Annulla
Salva