Skip to content

Commit fe695ea

Browse files
abokthsjaeckel
authored andcommitted
Avoid consecutive return statements
This change keeps static checkers happy. This change originally came from Heimdal's bundled copy of libtommath. Signed-off-by: Ken Dreyer <ktdreyer@ktdreyer.com>
1 parent b83a5d4 commit fe695ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bn_mp_invmod.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ int mp_invmod (mp_int * a, mp_int * b, mp_int * c)
3232

3333
#ifdef BN_MP_INVMOD_SLOW_C
3434
return mp_invmod_slow(a, b, c);
35-
#endif
36-
35+
#else
3736
return MP_VAL;
37+
#endif
3838
}
3939
#endif
4040

0 commit comments

Comments
 (0)