Skip to content

Commit

Permalink
CID 1311805 Uninitialized scalar field (UNINIT_CTOR)
Browse files Browse the repository at this point in the history
  • Loading branch information
vexed committed Jul 20, 2015
1 parent 0b3cc8a commit 77e0221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effects.h
Expand Up @@ -141,7 +141,7 @@ struct EFFECT
iIMDShape *imd; // pointer to the imd the effect uses.
EFFECT *prev, *next; // Previous and next element in linked list

EFFECT() : player(MAX_PLAYERS), control(0), group(EFFECT_FREED), frameNumber(0), size(0),
EFFECT() : player(MAX_PLAYERS), control(0), group(EFFECT_FREED), type(EXPLOSION_TYPE_SMALL), frameNumber(0), size(0),
baseScale(0), specific(0), birthTime(0), lastFrame(0), frameDelay(0), lifeSpan(0), radius(0),
imd(NULL), prev(NULL), next(NULL) {}
};
Expand Down

0 comments on commit 77e0221

Please sign in to comment.