To: vim_dev@googlegroups.com Subject: Patch 8.2.2978 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2978 (after 8.2.2977) Problem: Warning for uninitialized variable. Solution: Set return value to FAIL. Files: src/eval.c *** ../vim-8.2.2977/src/eval.c 2021-06-12 12:16:51.478922236 +0200 --- src/eval.c 2021-06-12 12:32:37.155912678 +0200 *************** *** 3777,3782 **** --- 3777,3783 ---- if (s == NULL || *s == NUL) { emsg(_(e_empty_function_name)); + ret = FAIL; goto theend; } } *** ../vim-8.2.2977/src/version.c 2021-06-12 12:16:51.478922236 +0200 --- src/version.c 2021-06-12 12:33:32.107737822 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2978, /**/ -- ARTHUR: Be quiet! I order you to shut up. OLD WOMAN: Order, eh -- who does he think he is? ARTHUR: I am your king! OLD WOMAN: Well, I didn't vote for you. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///