0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.2350: using "void" for no reason

Problem:    Using "void" for no reason.
Solution:   Use "char *".
This commit is contained in:
Bram Moolenaar 2021-01-14 21:40:22 +01:00
parent 2415669348
commit 033135eb8e
2 changed files with 4 additions and 2 deletions

View File

@ -1268,7 +1268,7 @@ do_cmdline(
*/ */
if (did_throw) if (did_throw)
{ {
void *p = NULL; char *p = NULL;
msglist_T *messages = NULL, *next; msglist_T *messages = NULL, *next;
/* /*
@ -1283,7 +1283,7 @@ do_cmdline(
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;

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2350,
/**/ /**/
2349, 2349,
/**/ /**/