Useless error check

2011-02-03 Fir de Conversatie Ben Schmidt
Hi, Bram, It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is running at initialisation time, and since this happens in

Re: Useless error check

2011-02-03 Fir de Conversatie Bram Moolenaar
Ben Schmidt wrote: It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is running at initialisation time, and since

Re: Useless error check

2011-02-03 Fir de Conversatie Ben Schmidt
On 4/02/11 8:03 AM, Bram Moolenaar wrote: Ben Schmidt wrote: It came up in a private conversation I had that this line in get_varp() is useless: default:EMSG(_(E356: get_varp ERROR)); The reason is that the first time it is called, it is because set_options_default is