From 73684cb3615d2ffc608529f4cf3307d7dcf02b4e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Feb 2016 20:04:06 +0100 Subject: [PATCH] Set these static variables initially to NULL --- audio/audio_driver.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/audio_driver.c b/audio/audio_driver.c index 63d2d97590..de26a697cd 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -131,12 +131,12 @@ static const audio_driver_t *audio_drivers[] = { &audio_null, NULL, }; -static const rarch_resampler_t *audio_driver_resampler; -static void *audio_driver_resampler_data; -static const audio_driver_t *current_audio; -static void *audio_driver_context_audio_data; static audio_driver_input_data_t audio_driver_data; +static const rarch_resampler_t *audio_driver_resampler = NULL; +static void *audio_driver_resampler_data = NULL; +static const audio_driver_t *current_audio = NULL; +static void *audio_driver_context_audio_data = NULL; /** * compute_audio_buffer_statistics: