mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
Fix UB
This commit is contained in:
parent
8eaa3a7eb9
commit
3b798b9802
2 changed files with 2 additions and 2 deletions
|
@ -1549,7 +1549,7 @@ void TEXTURETYPE_Init()
|
|||
char buffer[512];
|
||||
int i, j;
|
||||
byte *pMemFile;
|
||||
int fileSize, filePos;
|
||||
int fileSize = 0, filePos = 0;
|
||||
|
||||
if (fTextureTypeInit)
|
||||
return;
|
||||
|
|
|
@ -1687,7 +1687,7 @@ void PM_InitTextureTypes()
|
|||
char buffer[512];
|
||||
int i, j;
|
||||
byte *pMemFile;
|
||||
int fileSize, filePos;
|
||||
int fileSize = 0, filePos = 0;
|
||||
static qboolean bTextureTypeInit = false;
|
||||
|
||||
if ( bTextureTypeInit )
|
||||
|
|
Loading…
Reference in a new issue