Skip to content

Commit ef3394d

Browse files
committed
stacktrace.cpp: fixed constVariablePointer selfcheck warning
1 parent efeb6cc commit ef3394d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/stacktrace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void print_stacktrace(FILE* output, int start_idx, bool demangling, int maxdepth
5959
own_code = true;
6060
offset = i; // make sure the numbering is continous if we omit frames
6161
}
62-
char * realnameString = nullptr;
62+
const char * realnameString = nullptr;
6363
const char * const firstBracketName = strchr(symbolString, '(');
6464
const char * const firstBracketAddress = strchr(symbolString, '[');
6565
const char * const secondBracketAddress = strchr(firstBracketAddress, ']');

0 commit comments

Comments
 (0)