Skip to content

Commit

Permalink
stacktrace.cpp: fixed constVariablePointer selfcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Feb 10, 2025
1 parent b8ea2f0 commit ce618e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/stacktrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void print_stacktrace(FILE* output, int start_idx, bool demangling, int maxdepth
own_code = true;
offset = i; // make sure the numbering is continous if we omit frames
}
char * realnameString = nullptr;
const char * realnameString = nullptr;
const char * const firstBracketName = strchr(symbolString, '(');
const char * const firstBracketAddress = strchr(symbolString, '[');
const char * const secondBracketAddress = strchr(firstBracketAddress, ']');
Expand Down

0 comments on commit ce618e9

Please sign in to comment.