mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.2350: using "void" for no reason (#16410)
Problem: Using "void" for no reason.
Solution: Use "char *".
033135eb8e
This commit is contained in:
parent
730a9514dc
commit
36565c9da2
@ -818,7 +818,7 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline, void *cookie, int flags)
|
|||||||
// of interrupts or errors to exceptions, and ensure that no more
|
// of interrupts or errors to exceptions, and ensure that no more
|
||||||
// commands are executed.
|
// commands are executed.
|
||||||
if (current_exception) {
|
if (current_exception) {
|
||||||
void *p = NULL;
|
char *p = NULL;
|
||||||
char_u *saved_sourcing_name;
|
char_u *saved_sourcing_name;
|
||||||
int saved_sourcing_lnum;
|
int saved_sourcing_lnum;
|
||||||
struct msglist *messages = NULL;
|
struct msglist *messages = NULL;
|
||||||
@ -835,7 +835,7 @@ int do_cmdline(char_u *cmdline, LineGetter fgetline, void *cookie, int flags)
|
|||||||
vim_snprintf((char *)IObuff, IOSIZE,
|
vim_snprintf((char *)IObuff, IOSIZE,
|
||||||
_("E605: Exception not caught: %s"),
|
_("E605: Exception not caught: %s"),
|
||||||
current_exception->value);
|
current_exception->value);
|
||||||
p = vim_strsave(IObuff);
|
p = (char *)vim_strsave(IObuff);
|
||||||
break;
|
break;
|
||||||
case ET_ERROR:
|
case ET_ERROR:
|
||||||
messages = current_exception->messages;
|
messages = current_exception->messages;
|
||||||
|
Loading…
Reference in New Issue
Block a user