fixed uninitialized name pointers (cppcheck)
This commit is contained in:
parent
332d9af81b
commit
3f1826866b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue