Sfoglia il codice sorgente

cmAudLabelFile.c:Fixed uninitialzed 'rc' in cmGrObjWorldExt().

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

+ 1
- 1
cmAudLabelFile.c Vedi File

@@ -158,7 +158,7 @@ void _cmAlfRemove( cmAlf_t* p, cmAlfRecd_t* pp )
158 158
   
159 159
 cmAlfRC_t cmAudLabelFileOpen(   cmAlfH_t h, const cmChar_t* fn )
160 160
 {
161
-  cmAlfRC_t rc;
161
+  cmAlfRC_t rc             = kOkAlfRC;
162 162
   cmAlf_t*  p              = _cmAlfHandleToPtr(h);
163 163
   cmChar_t* lineBuf        = NULL;
164 164
   unsigned  lineBufByteCnt = 0;

Loading…
Annulla
Salva