diff options
author | Simon Wenner <simon@wenner.ch> | 2015-05-03 02:16:26 +0200 |
---|---|---|
committer | Simon Wenner <simon@wenner.ch> | 2015-05-03 02:16:26 +0200 |
commit | 3f1826866bbd2b92cf5a9de780ef948323fe7b09 (patch) | |
tree | 3d1184ef7f131b36e5750b8f0ac8655a38041fc7 /drivers/chibi | |
parent | 332d9af81ba9b74bf71b1201c65651db1f90756c (diff) |
fixed uninitialized name pointers (cppcheck)
Diffstat (limited to 'drivers/chibi')
-rw-r--r-- | drivers/chibi/cp_player_data_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/chibi/cp_player_data_control.cpp b/drivers/chibi/cp_player_data_control.cpp index 4d30c1a703..d5ca648fff 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; |