Mercurial > vim
view src/typemap @ 29641:b2cf1634c782 v9.0.0161
patch 9.0.0161: warning for uninitialized variable
Commit: https://github.com/vim/vim/commit/bf9158408a9d27932b8678f824cf1fe32d3cd920
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 22:38:02 2022 +0100
patch 9.0.0161: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize line_attr_save.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Aug 2022 23:45:03 +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}\")