mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Remove usage of unitialized variables
This commit is contained in:
parent
24115beb3c
commit
2233624152
17 changed files with 32 additions and 32 deletions
|
|
@ -89,7 +89,7 @@ static void handle_crash(int sig) {
|
|||
// Try to demangle the function name to provide a more readable one
|
||||
if (dladdr(bt_buffer[i], &info) && info.dli_sname) {
|
||||
if (info.dli_sname[0] == '_') {
|
||||
int status;
|
||||
int status = 0;
|
||||
char *demangled = abi::__cxa_demangle(info.dli_sname, nullptr, nullptr, &status);
|
||||
|
||||
if (status == 0 && demangled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue