mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-20 01:31:09 +00:00
Fix -Wmissing-braces warnings
missing braces around initializer for ‘const char* [2]’
This commit is contained in:
parent
783db18c5e
commit
09f03c531a
2 changed files with 7 additions and 7 deletions
|
@ -20,7 +20,7 @@ typedef struct {
|
|||
} glExtName_t;
|
||||
|
||||
glExtName_t glExtNames[] = {
|
||||
NULL
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static void StubFunction( void ) { }
|
||||
|
|
|
@ -1008,12 +1008,12 @@ void SSDProjectile::ReadProjectiles(idFile* savefile, idGameSSDWindow* _game) {
|
|||
*/
|
||||
|
||||
const char* powerupMaterials[][2] = {
|
||||
"game/SSD/powerupHealthClosed", "game/SSD/powerupHealthOpen",
|
||||
"game/SSD/powerupSuperBlasterClosed", "game/SSD/powerupSuperBlasterOpen",
|
||||
"game/SSD/powerupNukeClosed", "game/SSD/powerupNukeOpen",
|
||||
"game/SSD/powerupRescueClosed", "game/SSD/powerupRescueOpen",
|
||||
"game/SSD/powerupBonusPointsClosed", "game/SSD/powerupBonusPointsOpen",
|
||||
"game/SSD/powerupDamageClosed", "game/SSD/powerupDamageOpen",
|
||||
{ "game/SSD/powerupHealthClosed", "game/SSD/powerupHealthOpen" },
|
||||
{ "game/SSD/powerupSuperBlasterClosed", "game/SSD/powerupSuperBlasterOpen" },
|
||||
{ "game/SSD/powerupNukeClosed", "game/SSD/powerupNukeOpen" },
|
||||
{ "game/SSD/powerupRescueClosed", "game/SSD/powerupRescueOpen" },
|
||||
{ "game/SSD/powerupBonusPointsClosed", "game/SSD/powerupBonusPointsOpen" },
|
||||
{ "game/SSD/powerupDamageClosed", "game/SSD/powerupDamageOpen" },
|
||||
};
|
||||
|
||||
#define POWERUP_MATERIAL_COUNT 6
|
||||
|
|
Loading…
Reference in a new issue