Patch 8.0.1272
Problem: Warnings for unused variables in tiny build.
Solution: Add #ifdef. (Dominique Pelle, closes #2288)
Files: src/term.c
*** ../vim-8.0.1271/src/term.c 2017-11-04 15:16:52.211407386 +0100
--- src/term.c 2017-11-05 21:22:01.357199061 +0100
***************
*** 4757,4766 ****
if (i - j >= 21 && STRNCMP(tp + j + 3, "rgb:", 4) == 0
&& tp[j + 11] == '/' && tp[j + 16] == '/')
{
int rval = hexhex2nr(tp + j + 7);
int gval = hexhex2nr(tp + j + 12);
int bval = hexhex2nr(tp + j + 17);
!
if (is_bg)
{
char *newval = (3 * '6' < tp[j+7] + tp[j+12]
--- 4757,4767 ----
if (i - j >= 21 && STRNCMP(tp + j + 3, "rgb:", 4) == 0
&& tp[j + 11] == '/' && tp[j + 16] == '/')
{
+ #ifdef FEAT_TERMINAL
int rval = hexhex2nr(tp + j + 7);
int gval = hexhex2nr(tp + j + 12);
int bval = hexhex2nr(tp + j + 17);
! #endif
if (is_bg)
{
char *newval = (3 * '6' < tp[j+7] + tp[j+12]
*** ../vim-8.0.1271/src/version.c 2017-11-05 20:59:12.528905134 +0100
--- src/version.c 2017-11-05 21:22:55.920802542 +0100
***************
*** 763,764 ****
--- 763,766 ----
{ /* Add new patch number below this line */
+ /**/
+ 1272,
/**/
--
Communication is one of the most compli..., eh, well, it's hard.
You know what I mean. Not?
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.