wpa_supplicant: static analysis fixes

This commit is contained in:
Kapil Gupta
2022-03-15 20:58:06 +05:30
parent db8fb1f47b
commit 6da52cf0d8
6 changed files with 18 additions and 15 deletions

View File

@@ -1653,7 +1653,7 @@ mp_div(mp_int * a, mp_int * b, mp_int * c, mp_int * d)
}
/* init our temps */
if ((res = mp_init_multi(&ta, &tb, &tq, &q, NULL) != MP_OKAY)) {
if ((res = mp_init_multi(&ta, &tb, &tq, &q, NULL)) != MP_OKAY) {
return res;
}