From ad247fe5cdec749ca1b86d48e7f722f9477679ea Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 6 Nov 2014 23:05:21 -0800 Subject: Initialize a couple variables mingw complains about --- Alc/panning.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/panning.c') diff --git a/Alc/panning.c b/Alc/panning.c index 8ea6f632..9fe03a57 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -152,8 +152,8 @@ ALvoid aluInitPanning(ALCdevice *device) { SideLeft, { DEG2RAD( -90.0f), DEG2RAD(0.0f), { 0.224739f, 0.000002f, 0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, 0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, -0.065795f }, { 0.224739f, 0.000000f, 0.260717f, 0.0f } } }, { SideRight, { DEG2RAD( 90.0f), DEG2RAD(0.0f), { 0.224739f, 0.000002f, -0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, -0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, 0.065795f }, { 0.224739f, 0.000000f, -0.260717f, 0.0f } } }, }; - const ChannelMap *chanmap; - size_t count; + const ChannelMap *chanmap = NULL; + size_t count = 0; ALuint i, j; memset(device->Speaker, 0, sizeof(device->Speaker)); -- cgit v1.2.3