Mercurial > vim
view src/typemap @ 30152:1e6d387bd51f v9.0.0412
patch 9.0.0412: compiler warning for unused argument
Commit: https://github.com/vim/vim/commit/e5a420fb33518e08313f653f3031bc36f949e086
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 7 21:46:56 2022 +0100
patch 9.0.0412: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Sep 2022 23:00:06 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")