Sfoglia il codice sorgente

Static analysis fix (maybe?).

Ryan C. Gordon 8 anni fa
parent
commit
f83e36a8be
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/physfs_lzmasdk.h

+ 1 - 1
src/physfs_lzmasdk.h

@@ -2905,7 +2905,7 @@ static SRes SzReadAndDecodePackedStreams(
     CSzAr *p,
     CSzAr *p,
     ISzAlloc *allocTemp)
     ISzAlloc *allocTemp)
 {
 {
-  UInt64 dataStartPos;
+  UInt64 dataStartPos = 0;
   UInt32 fo;
   UInt32 fo;
   CSubStreamInfo ssi;
   CSubStreamInfo ssi;