From 12d1de42324770cd2eef8c2bf59d2b2ea77e1878 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Feb 2016 20:03:31 +0100 Subject: [PATCH] Set these static variables initially to NULL --- gfx/video_driver.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 3d778c7cce..94c127dd9e 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -91,17 +91,17 @@ static enum rarch_display_type video_driver_display_type; static uint64_t video_driver_frame_count; -static void *video_driver_data; -static video_driver_t *current_video; +static void *video_driver_data = NULL; +static video_driver_t *current_video = NULL; /* Interface for "poking". */ -static const video_poke_interface_t *video_driver_poke; +static const video_poke_interface_t *video_driver_poke = NULL; -static video_driver_state_t video_driver_state; +static video_driver_state_t video_driver_state = NULL; /* Used for 16-bit -> 16-bit conversions that take place before * being passed to video driver. */ -static video_pixel_scaler_t *video_driver_scaler_ptr; +static video_pixel_scaler_t *video_driver_scaler_ptr = NULL; char rotation_lut[4][32] = {