# HG changeset patch # User Bram Moolenaar # Date 1610657105 -3600 # Node ID 8b6d289d182ecf1090d8e891aa26e9c038096354 # Parent c96dd2e2ada2b6b550f68684d3a96158afda9418 patch 8.2.2350: using "void" for no reason Commit: https://github.com/vim/vim/commit/033135eb8eccd00c9ee72c6c0cf4b8b9f81bd269 Author: Bram Moolenaar Date: Thu Jan 14 21:40:22 2021 +0100 patch 8.2.2350: using "void" for no reason Problem: Using "void" for no reason. Solution: Use "char *". diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1268,7 +1268,7 @@ do_cmdline( */ if (did_throw) { - void *p = NULL; + char *p = NULL; msglist_T *messages = NULL, *next; /* @@ -1283,7 +1283,7 @@ do_cmdline( vim_snprintf((char *)IObuff, IOSIZE, _("E605: Exception not caught: %s"), current_exception->value); - p = vim_strsave(IObuff); + p = (char *)vim_strsave(IObuff); break; case ET_ERROR: messages = current_exception->messages; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2350, +/**/ 2349, /**/ 2348,