From 033135eb8eccd00c9ee72c6c0cf4b8b9f81bd269 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 14 Jan 2021 21:40:22 +0100 Subject: patch 8.2.2350: using "void" for no reason Problem: Using "void" for no reason. Solution: Use "char *". --- src/ex_docmd.c | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index a71adb874..7fe33d8e5 100644 --- 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 index 48ba60f2f..616f4ede8 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2350, /**/ 2349, /**/ -- cgit v1.2.1