aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-11-11 21:59:20 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-15 12:40:28 +0100
commit3d57bcee7d0783f554497b7e3b1dda06df4ea40c (patch)
treee8724a00627f39dd3a48c1daea9fe1bc33066907 /src/nvim/option.c
parentb299c011a04e6c14ec7dc9fd50a58f4a9e5afd40 (diff)
downloadrneovim-3d57bcee7d0783f554497b7e3b1dda06df4ea40c.tar.gz
rneovim-3d57bcee7d0783f554497b7e3b1dda06df4ea40c.tar.bz2
rneovim-3d57bcee7d0783f554497b7e3b1dda06df4ea40c.zip
Fix warnings: option.c: do_set(): Dead assignment: HI.
Problem : Dead assignment @ 2566. Diagnostic : Harmless issue. Rationale : `nextchar` is used as a lookahead buffer for the character next to the currently examined token. Sometimes it also saves that char while original string is modified (original position of nextchar is nullified for the string to terminate there). In summary, it's an auxiliary variable with no particular complex meaning. Safe to remove if not used. Resolution : Remove dead assignment.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 14b26fbc34..31f5ab7788 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2563,7 +2563,6 @@ do_set (
/* find end of name */
key = 0;
if (*arg == '<') {
- nextchar = 0;
opt_idx = -1;
/* look out for <t_>;> */
if (arg[1] == 't' && arg[2] == '_' && arg[3] && arg[4])