From f68123551f4d5b286309006da67c57878f6cc619 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 3 Oct 2014 18:28:58 +0200 Subject: [PATCH] mpi: Fix compiler warning. * mpi/mpi-inv.c (mpi_invm): Do not return a value. --- mpi/mpi-inv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpi/mpi-inv.c b/mpi/mpi-inv.c index 361c57ea4..43e97d897 100644 --- a/mpi/mpi-inv.c +++ b/mpi/mpi-inv.c @@ -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);