mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-04 15:12:58 +00:00
MP Jingle: Better empty_music_stack_entry initialization (buildbots)
This commit is contained in:
parent
2db5278f47
commit
1e2436434a
1 changed files with 1 additions and 11 deletions
|
|
@ -1336,17 +1336,7 @@ UINT32 S_GetMusicPosition(void)
|
||||||
/// In this section: mazmazz doesn't know how to do dynamic arrays or struct pointers!
|
/// In this section: mazmazz doesn't know how to do dynamic arrays or struct pointers!
|
||||||
/// ------------------------
|
/// ------------------------
|
||||||
|
|
||||||
// make the buildbots happy, because this safely zeroes out a struct
|
static const musicstack_t empty_music_stack_entry = {"\0", 0, false, 0, 0, 0};
|
||||||
// https://stackoverflow.com/q/1538943
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
|
||||||
|
|
||||||
static const musicstack_t empty_music_stack_entry = {{0}};
|
|
||||||
|
|
||||||
#pragma clang diagnostic pop
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
|
|
||||||
void S_SetStackAdjustmentStart(void)
|
void S_SetStackAdjustmentStart(void)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue