ref: fix -Wmaybe-uninitialized

This commit is contained in:
Alibek Omarov
2025-03-25 17:04:57 +03:00
parent a9fd508e47
commit 706cc16a86
2 changed files with 2 additions and 2 deletions

View File

@@ -698,7 +698,7 @@ R_DrawSpriteModel
*/
void R_DrawSpriteModel( cl_entity_t *e )
{
mspriteframe_t *frame, *oldframe;
mspriteframe_t *frame = NULL, *oldframe = NULL;
msprite_t *psprite;
model_t *model;
int i, type;

View File

@@ -700,7 +700,7 @@ R_DrawSpriteModel
*/
void R_DrawSpriteModel( cl_entity_t *e )
{
mspriteframe_t *frame, *oldframe;
mspriteframe_t *frame = NULL, *oldframe = NULL;
msprite_t *psprite;
model_t *model;
int i, type;