diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-10 18:00:46 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-11 01:43:14 +0100 |
commit | a6548e4fb34d50fbd49d0878618c3aecefabe79b (patch) | |
tree | 68ecc9a6718caf0cdb1bca365ce6373944af1357 /src/nvim/ex_cmds2.c | |
parent | 5bf6639e0fb5698a436efe5105fa5dc8714f67dc (diff) | |
download | rneovim-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