To: vim_dev@googlegroups.com Subject: Patch 8.2.2350 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2350 Problem: Using "void" for no reason. Solution: Use "char *". Files: src/ex_docmd.c *** ../vim-8.2.2349/src/ex_docmd.c 2021-01-09 12:09:18.399881402 +0100 --- src/ex_docmd.c 2021-01-14 21:29:21.734140910 +0100 *************** *** 1268,1274 **** */ if (did_throw) { ! void *p = NULL; msglist_T *messages = NULL, *next; /* --- 1268,1274 ---- */ if (did_throw) { ! char *p = NULL; msglist_T *messages = NULL, *next; /* *************** *** 1283,1289 **** vim_snprintf((char *)IObuff, IOSIZE, _("E605: Exception not caught: %s"), current_exception->value); ! p = vim_strsave(IObuff); break; case ET_ERROR: messages = current_exception->messages; --- 1283,1289 ---- vim_snprintf((char *)IObuff, IOSIZE, _("E605: Exception not caught: %s"), current_exception->value); ! p = (char *)vim_strsave(IObuff); break; case ET_ERROR: messages = current_exception->messages; *** ../vim-8.2.2349/src/version.c 2021-01-14 20:35:46.254002151 +0100 --- src/version.c 2021-01-14 21:40:00.780623622 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2350, /**/ -- hundred-and-one symptoms of being an internet addict: 147. You finally give up smoking...because it made the monitor dirty. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///