From 3f1826866bbd2b92cf5a9de780ef948323fe7b09 Mon Sep 17 00:00:00 2001 From: Simon Wenner Date: Sun, 3 May 2015 02:16:26 +0200 Subject: [PATCH] fixed uninitialized name pointers (cppcheck) --- drivers/chibi/cp_player_data_control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/chibi/cp_player_data_control.cpp b/drivers/chibi/cp_player_data_control.cpp index 4d30c1a70389..d5ca648fff5d 100644 --- a/drivers/chibi/cp_player_data_control.cpp +++ b/drivers/chibi/cp_player_data_control.cpp @@ -233,7 +233,7 @@ int CPPlayer::get_channel_voice(int p_channel) { const char* CPPlayer::get_voice_sample_name(int p_voice) { - const char *name; + const char *name = NULL; @@ -302,7 +302,7 @@ const char * CPPlayer::get_voice_instrument_name(int p_voice) { - const char *name; + const char *name = NULL;