comparison src/optionstr.c @ 27426:41e0dcf38521 v8.2.4241

patch 8.2.4241: some type casts are redundant Commit: https://github.com/vim/vim/commit/420fabcd4ffeaf79082a6e43db91e1d363f88f27 Author: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> Date: Fri Jan 28 15:28:04 2022 +0000 patch 8.2.4241: some type casts are redundant Problem: Some type casts are redundant. Solution: Remove the type casts. (closes https://github.com/vim/vim/issues/9643)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Jan 2022 16:30:11 +0100
parents aeadf4315bef
children 4eb2bf8b2f27
comparison
equal deleted inserted replaced
27425:b5bd6c851b8a 27426:41e0dcf38521
179 { 179 {
180 set_vim_var_string(VV_OPTION_COMMAND, (char_u *)"modeline", -1); 180 set_vim_var_string(VV_OPTION_COMMAND, (char_u *)"modeline", -1);
181 set_vim_var_string(VV_OPTION_OLDLOCAL, oldval, -1); 181 set_vim_var_string(VV_OPTION_OLDLOCAL, oldval, -1);
182 } 182 }
183 apply_autocmds(EVENT_OPTIONSET, 183 apply_autocmds(EVENT_OPTIONSET,
184 (char_u *)get_option_fullname(opt_idx), NULL, FALSE, 184 get_option_fullname(opt_idx), NULL, FALSE,
185 NULL); 185 NULL);
186 reset_v_option_vars(); 186 reset_v_option_vars();
187 } 187 }
188 } 188 }
189 #endif 189 #endif