mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
fixed uninitialized name pointers (cppcheck)
This commit is contained in:
parent
332d9af81b
commit
3f1826866b
@ -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 New Issue
Block a user