Mercurial > vim
comparison src/screen.c @ 17272:2342d5e500ec v8.1.1635
patch 8.1.1635: warnings for unused variables in small version
commit https://github.com/vim/vim/commit/b4d9b893d3c7af24b5adf4ae0475ada32d36f5ad
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 4 22:59:06 2019 +0200
patch 8.1.1635: warnings for unused variables in small version
Problem: Warnings for unused variables in small version. (John Marriott)
Solution: Adjust #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 04 Jul 2019 23:00:06 +0200 |
parents | 82b5d981fe59 |
children | a513b81d3689 |
comparison
equal
deleted
inserted
replaced
17271:a43b8b3d4a9c | 17272:2342d5e500ec |
---|---|
3263 int need_showbreak = FALSE; /* overlong line, skipping first x | 3263 int need_showbreak = FALSE; /* overlong line, skipping first x |
3264 chars */ | 3264 chars */ |
3265 #endif | 3265 #endif |
3266 #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \ | 3266 #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \ |
3267 || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) | 3267 || defined(FEAT_SYN_HL) || defined(FEAT_DIFF) |
3268 # define LINE_ATTR | |
3269 int line_attr = 0; /* attribute for the whole line */ | |
3270 #endif | |
3271 #ifdef FEAT_SIGNS | |
3268 int sign_present = FALSE; | 3272 int sign_present = FALSE; |
3269 sign_attrs_T sattr; | 3273 sign_attrs_T sattr; |
3270 # define LINE_ATTR | |
3271 int line_attr = 0; /* attribute for the whole line */ | |
3272 #endif | 3274 #endif |
3273 #ifdef FEAT_SEARCH_EXTRA | 3275 #ifdef FEAT_SEARCH_EXTRA |
3274 matchitem_T *cur; /* points to the match list */ | 3276 matchitem_T *cur; /* points to the match list */ |
3275 match_T *shl; /* points to search_hl or a match */ | 3277 match_T *shl; /* points to search_hl or a match */ |
3276 int shl_flag; /* flag to indicate whether search_hl | 3278 int shl_flag; /* flag to indicate whether search_hl |