mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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 ;
|
int odd ;
|
||||||
|
|
||||||
if (!mpi_cmp_ui (a, 0))
|
if (!mpi_cmp_ui (a, 0))
|
||||||
return 0; /* Inverse does not exists. */
|
return; /* Inverse does not exists. */
|
||||||
if (!mpi_cmp_ui (n, 1))
|
if (!mpi_cmp_ui (n, 1))
|
||||||
return 0; /* Inverse does not exists. */
|
return; /* Inverse does not exists. */
|
||||||
|
|
||||||
u = mpi_copy(a);
|
u = mpi_copy(a);
|
||||||
v = mpi_copy(n);
|
v = mpi_copy(n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user