Mercurial > vim
comparison src/scriptfile.c @ 21495:4c1a929fde80 v8.2.1298
patch 8.2.1298: compiler warning for unused argument in small version
Commit: https://github.com/vim/vim/commit/cb4f69c2fd9ea81331c4aa54877fde612d182a51
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 26 15:51:06 2020 +0200
patch 8.2.1298: compiler warning for unused argument in small version
Problem: Compiler warning for unused argument in small version.
Solution: Add UNUSED.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jul 2020 16:00:05 +0200 |
parents | 7449921216bc |
children | 766839794e09 |
comparison
equal
deleted
inserted
replaced
21494:d26728613f3e | 21495:4c1a929fde80 |
---|---|
112 /* | 112 /* |
113 * Get the current value for <sfile> in allocated memory. | 113 * Get the current value for <sfile> in allocated memory. |
114 * "is_sfile" is TRUE for <sfile> itself. | 114 * "is_sfile" is TRUE for <sfile> itself. |
115 */ | 115 */ |
116 char_u * | 116 char_u * |
117 estack_sfile(int is_sfile) | 117 estack_sfile(int is_sfile UNUSED) |
118 { | 118 { |
119 estack_T *entry; | 119 estack_T *entry; |
120 #ifdef FEAT_EVAL | 120 #ifdef FEAT_EVAL |
121 garray_T ga; | 121 garray_T ga; |
122 size_t len; | 122 size_t len; |