fix(coverity): dead code and operands don't affect result #17662

* fix(coverity/349942): structurally dead code

* fix(coverity/331396): operands don't affect result

* fix(coverity/331393): operands don't affect result

* fix(coverity/331392): operands don't affect result

* fix(coverity/331384): operands don't affect result

* fix(coverity/331374): operands don't affect result

* fix(coverity/331372): operands don't affect result

* fix(coverity/331371): operands don't affect result

* fix(coverity/331364): operands don't affect result

* fix(coverity/105585): operands don't affect result
This commit is contained in:
dundargoc
2022-03-11 15:04:48 +01:00
committed by GitHub
parent 19858288b4
commit c3a6ff6aa3
6 changed files with 8 additions and 15 deletions

View File

@@ -3568,7 +3568,6 @@ static void nv_zet(cmdarg_T *cap)
bool undo = false;
int l_p_siso = (int)get_sidescrolloff_value(curwin);
assert(l_p_siso <= INT_MAX);
if (ascii_isdigit(nchar)) {
/*