mirror of https://github.com/PCSX2/pcsx2.git
onepad|spu2-x: Avoid -Wmissing-braces on clang
This commit is contained in:
parent
c10d6c3ed1
commit
354b11c619
|
@ -40,7 +40,7 @@ void JoystickInfo::EnumerateJoysticks(std::vector<std::unique_ptr<GamePad>> &vjo
|
|||
return;
|
||||
|
||||
// WTF! Give me back the control of my system
|
||||
struct sigaction action = {0};
|
||||
struct sigaction action = {};
|
||||
action.sa_handler = SIG_DFL;
|
||||
sigaction(SIGINT, &action, nullptr);
|
||||
sigaction(SIGTERM, &action, nullptr);
|
||||
|
|
|
@ -52,7 +52,7 @@ void JoystickInfo::EnumerateJoysticks(vector<GamePad *> &vjoysticks)
|
|||
if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_EVENTS) < 0)
|
||||
return;
|
||||
// WTF! Give me back the control of my system
|
||||
struct sigaction action = {0};
|
||||
struct sigaction action = {};
|
||||
action.sa_handler = SIG_DFL;
|
||||
sigaction(SIGINT, &action, NULL);
|
||||
sigaction(SIGTERM, &action, NULL);
|
||||
|
|
|
@ -29,7 +29,7 @@ static WavOutFile *_new_WavOutFile(const char *destfile)
|
|||
|
||||
namespace WaveDump
|
||||
{
|
||||
static WavOutFile *m_CoreWav[2][CoreSrc_Count] = {NULL};
|
||||
static WavOutFile *m_CoreWav[2][CoreSrc_Count];
|
||||
|
||||
static const char *m_tbl_CoreOutputTypeNames[CoreSrc_Count] =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue