Mercurial > vim
changeset 7536:30b74472ff81 v7.4.1069
commit https://github.com/vim/vim/commit/5f24542e5eda590acdbee89b120fa2e19ec7596e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 9 18:52:40 2016 +0100
patch 7.4.1069
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 09 Jan 2016 19:00:05 +0100 |
parents | 74daa6b68570 |
children | e1a5a830aebb |
files | src/misc2.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -842,7 +842,7 @@ alloc(size) char_u * alloc_id(size, id) unsigned size; - int id; + int id UNUSED; { #ifdef FEAT_EVAL if (alloc_fail_id == id && alloc_does_fail()) @@ -1007,7 +1007,7 @@ theend: lalloc_id(size, message, id) long_u size; int message; - int id; + int id UNUSED; { #ifdef FEAT_EVAL if (alloc_fail_id == id && alloc_does_fail())