aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/debugger.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-12 17:52:54 +0200
committerGitHub <noreply@github.com>2021-10-12 17:52:54 +0200
commit649b3160a10f0053747383f0703b0a5a94548570 (patch)
tree2898b7213ab1349717c360c8d7561a4606f3c8c2 /src/nvim/debugger.c
parent64f0fdc6822db4fc1ef5fadb892aab5bf04e75a7 (diff)
downloadrneovim-649b3160a10f0053747383f0703b0a5a94548570.tar.gz
rneovim-649b3160a10f0053747383f0703b0a5a94548570.tar.bz2
rneovim-649b3160a10f0053747383f0703b0a5a94548570.zip
refactor: reduce number of unique char casts (#15995)
Diffstat (limited to 'src/nvim/debugger.c')
-rw-r--r--src/nvim/debugger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/debugger.c b/src/nvim/debugger.c
index 58b1d9ce7f..aeaf2555b1 100644
--- a/src/nvim/debugger.c
+++ b/src/nvim/debugger.c
@@ -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,