mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Issue #8914: fix various warnings from the Clang static analyzer v254.
This commit is contained in:
parent
79da6b7075
commit
b94767ff44
36 changed files with 69 additions and 84 deletions
|
@ -2055,7 +2055,7 @@ _Py_dg_strtod(const char *s00, char **se)
|
|||
+ Exp_msk1
|
||||
;
|
||||
word1(&rv) = 0;
|
||||
dsign = 0;
|
||||
/* dsign = 0; */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2092,7 +2092,7 @@ _Py_dg_strtod(const char *s00, char **se)
|
|||
goto undfl;
|
||||
}
|
||||
}
|
||||
dsign = 1 - dsign;
|
||||
/* dsign = 1 - dsign; */
|
||||
break;
|
||||
}
|
||||
if ((aadj = ratio(delta, bs)) <= 2.) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue