To: vim_dev@googlegroups.com Subject: Patch 9.0.1173 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1173 Problem: Compiler warning for unused variable on non-Unix systems. Solution: Move #ifdef. (John Marriott) Files: src/term.c *** ../vim-9.0.1172/src/term.c 2023-01-10 12:37:33.249580669 +0000 --- src/term.c 2023-01-10 19:14:48.638242268 +0000 *************** *** 2159,2164 **** --- 2159,2165 ---- init_term_props(FALSE); #endif + #if defined(UNIX) || defined(VMS) // If the first number in t_XM is 1006 then the terminal will support SGR // mouse reporting. int did_set_ttym = FALSE; *************** *** 2175,2181 **** } } - #if defined(UNIX) || defined(VMS) /* * For Unix, set the 'ttymouse' option to the type of mouse to be used. * The termcode for the mouse is added as a side effect in option.c. --- 2176,2181 ---- *** ../vim-9.0.1172/src/version.c 2023-01-10 17:29:24.916481478 +0000 --- src/version.c 2023-01-10 19:15:37.606286190 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1173, /**/ -- If the Universe is constantly expanding, why can't I ever find a parking space? /// 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 ///