mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-10 20:16:14 +00:00
MP Jingle: Better empty_music_stack_entry initialization (buildbots)
This commit is contained in:
parent
affbc89602
commit
af5aecb246
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!
|
||||
/// ------------------------
|
||||
|
||||
// make the buildbots happy, because this safely zeroes out a struct
|
||||
// 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
|
||||
static const musicstack_t empty_music_stack_entry = {"\0", 0, false, 0, 0, 0};
|
||||
|
||||
void S_SetStackAdjustmentStart(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue