Mercurial > vim
comparison src/normal.c @ 28401:d1982178f787 v8.2.4725
patch 8.2.4725: unused variable in tiny build
Commit: https://github.com/vim/vim/commit/2ce97ae6aaec7007cca16a446d73161b82f2ba69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 9 21:13:51 2022 +0100
patch 8.2.4725: unused variable in tiny build
Problem: Unused variable in tiny build.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Apr 2022 22:15:04 +0200 |
parents | d395fadbaf67 |
children | 9a2fb96475ed |
comparison
equal
deleted
inserted
replaced
28400:3f74103f4bb4 | 28401:d1982178f787 |
---|---|
4195 int opt, // extra flags for do_search() | 4195 int opt, // extra flags for do_search() |
4196 int *wrapped) | 4196 int *wrapped) |
4197 { | 4197 { |
4198 int i; | 4198 int i; |
4199 searchit_arg_T sia; | 4199 searchit_arg_T sia; |
4200 #ifdef FEAT_SEARCH_EXTRA | |
4200 pos_T prev_cursor = curwin->w_cursor; | 4201 pos_T prev_cursor = curwin->w_cursor; |
4202 #endif | |
4201 | 4203 |
4202 cap->oap->motion_type = MCHAR; | 4204 cap->oap->motion_type = MCHAR; |
4203 cap->oap->inclusive = FALSE; | 4205 cap->oap->inclusive = FALSE; |
4204 cap->oap->use_reg_one = TRUE; | 4206 cap->oap->use_reg_one = TRUE; |
4205 curwin->w_set_curswant = TRUE; | 4207 curwin->w_set_curswant = TRUE; |