aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-11-10 18:00:46 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-11 01:43:14 +0100
commita6548e4fb34d50fbd49d0878618c3aecefabe79b (patch)
tree68ecc9a6718caf0cdb1bca365ce6373944af1357 /src/nvim/ex_cmds2.c
parent5bf6639e0fb5698a436efe5105fa5dc8714f67dc (diff)
downloadrneovim-a6548e4fb34d50fbd49d0878618c3aecefabe79b.tar.gz
rneovim-a6548e4fb34d50fbd49d0878618c3aecefabe79b.tar.bz2
rneovim-a6548e4fb34d50fbd49d0878618c3aecefabe79b.zip
Fix warnings: message.c: vim_vsnprintf(): Dead assignment (2): HI.
Problem : Dead assignment @ 3323. Dead assignment @ 3587. Diagnostic : Harmless issues. Rationale : - 3323: Assignment is in fact dead. But, in addition to that, `length_modifier` is assigned default value `\0` when declared and is untouched in path leading to signaled point. So, maintaining assignment adds nothing to code. - 3587: Assignment is in fact dead. It could be thought that `precision_specified` has to be 1 in order to flag `precision` as having a valid value. But that doesn't seem to be the case, as there are places in the code where `precision` gets assigned a default value, even if `precision_specified` is 0. So, maintaining assignment adds nothing to code. Resolution : Remove dead assignments.
Diffstat (limited to 'src/nvim/ex_cmds2.c')
0 files changed, 0 insertions, 0 deletions