diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-14 21:40:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-14 21:40:22 +0100 |
commit | 033135eb8eccd00c9ee72c6c0cf4b8b9f81bd269 (patch) | |
tree | 10893efbe88b581e561670656d0e4983b638520c /src/ex_docmd.c | |
parent | 2415669348c455df0d1b9bf55b17a06d2f990c19 (diff) | |
download | vim-git-8.2.2350.tar.gz |
patch 8.2.2350: using "void" for no reasonv8.2.2350
Problem: Using "void" for no reason.
Solution: Use "char *".
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 4 |
1 files changed, 2 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; |