mpi: Fix compiler warning.

* mpi/mpi-inv.c (mpi_invm): Do not return a value.
This commit is contained in:
Werner Koch 2014-10-03 18:28:58 +02:00
parent 534e2876ac
commit f68123551f
1 changed files with 2 additions and 2 deletions

View File

@ -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);