mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-17 14:07:03 +01:00
mpi: Fix compiler warning.
* mpi/mpi-inv.c (mpi_invm): Do not return a value.
This commit is contained in:
parent
534e2876ac
commit
f68123551f
@ -166,9 +166,9 @@ mpi_invm( MPI x, MPI a, MPI n )
|
||||
int odd ;
|
||||
|
||||
if (!mpi_cmp_ui (a, 0))
|
||||
return 0; /* Inverse does not exists. */
|
||||
return; /* Inverse does not exists. */
|
||||
if (!mpi_cmp_ui (n, 1))
|
||||
return 0; /* Inverse does not exists. */
|
||||
return; /* Inverse does not exists. */
|
||||
|
||||
u = mpi_copy(a);
|
||||
v = mpi_copy(n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user