diff options
| author | Ihor Antonov <ngortheone@users.noreply.github.com> | 2019-08-05 18:40:31 -0400 |
|---|---|---|
| committer | Ihor Antonov <ngortheone@users.noreply.github.com> | 2019-08-05 18:40:31 -0400 |
| commit | 512f24f71d24517e737024e83b1909b153492231 (patch) | |
| tree | 27b906b12c57ad660d9974aec91224ffcc08a5f2 /src | |
| parent | f5d1e0e7b1837e8b76f1561167543c90a9942a7a (diff) | |
| download | rneovim-512f24f71d24517e737024e83b1909b153492231.tar.gz rneovim-512f24f71d24517e737024e83b1909b153492231.tar.bz2 rneovim-512f24f71d24517e737024e83b1909b153492231.zip | |
clang/"dead assignment": suppessed
To ensure consistency and avoid possible errors in the code
the assigment is considered to be legit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nvim/getchar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index f7614fd3e1..03f64c2019 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -1945,6 +1945,7 @@ static int vgetorpeek(int advance) // No matching mapping found or found a non-matching mapping that // matches at least what the matching mapping matched keylen = 0; + (void)keylen; // suppress clang/dead assignment // If there was no mapping, use the character from the typeahead // buffer right here. Otherwise, use the mapping (loop around). if (mp == NULL) { |
