mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
refactor: reduce number of unique char casts (#15995)
This commit is contained in:
@@ -390,7 +390,7 @@ static char_u *debug_skipped_name;
|
||||
/// Called from do_one_cmd() before executing a command.
|
||||
void dbg_check_breakpoint(exarg_T *eap)
|
||||
{
|
||||
char_u *p;
|
||||
char *p;
|
||||
|
||||
debug_skipped = false;
|
||||
if (debug_breakpoint_name != NULL) {
|
||||
@@ -399,9 +399,9 @@ void dbg_check_breakpoint(exarg_T *eap)
|
||||
if (debug_breakpoint_name[0] == K_SPECIAL
|
||||
&& debug_breakpoint_name[1] == KS_EXTRA
|
||||
&& debug_breakpoint_name[2] == KE_SNR) {
|
||||
p = (char_u *)"<SNR>";
|
||||
p = "<SNR>";
|
||||
} else {
|
||||
p = (char_u *)"";
|
||||
p = "";
|
||||
}
|
||||
smsg(_("Breakpoint in \"%s%s\" line %" PRId64),
|
||||
p,
|
||||
|
Reference in New Issue
Block a user