comparison src/search.c @ 20651:3e03edae7e6f v8.2.0879

patch 8.2.0879: compiler warning for unused function argument Commit: https://github.com/vim/vim/commit/f9ca08e95ff5b66a02c75334264dd86508b2a453 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 1 18:56:03 2020 +0200 patch 8.2.0879: compiler warning for unused function argument Problem: Compiler warning for unused function argument. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Jun 2020 19:00:04 +0200
parents 8a2b86a39ef4
children a68591fbb93d
comparison
equal deleted inserted replaced
20650:92b4c98fc228 20651:3e03edae7e6f
3168 pos_T *pos, 3168 pos_T *pos,
3169 pos_T *cursor_pos, 3169 pos_T *cursor_pos,
3170 searchstat_T *stat, 3170 searchstat_T *stat,
3171 int recompute, 3171 int recompute,
3172 int maxcount, 3172 int maxcount,
3173 long timeout) 3173 long timeout UNUSED)
3174 { 3174 {
3175 int save_ws = p_ws; 3175 int save_ws = p_ws;
3176 int wraparound = FALSE; 3176 int wraparound = FALSE;
3177 pos_T p = (*pos); 3177 pos_T p = (*pos);
3178 static pos_T lastpos = {0, 0, 0}; 3178 static pos_T lastpos = {0, 0, 0};