Mercurial > vim
view src/typemap @ 17642:fe637f192d80 v8.1.1818
patch 8.1.1818: unused variable
commit https://github.com/vim/vim/commit/b4a88a0441a65a0c9411c294825a08ca703f541e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 5 20:18:14 2019 +0200
patch 8.1.1818: unused variable
Problem: Unused variable.
Solution: Remove the variable. (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Aug 2019 20:30: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}\")