summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-23 08:28:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-23 08:28:34 +0000
commit371c87af33810c934034161947c143ccbf6aa01b (patch)
tree59e6cca98e1019ab519306bf9cd6ab75624be908 /plugins/MirOTR/Libgcrypt/src
parent0c47fa983161b4db0b7bd4105cebae0ddae707c8 (diff)
various warning & compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14648 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/src')
-rw-r--r--plugins/MirOTR/Libgcrypt/src/visibility.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MirOTR/Libgcrypt/src/visibility.c b/plugins/MirOTR/Libgcrypt/src/visibility.c
index 2989498e10..4bbfd0ad3c 100644
--- a/plugins/MirOTR/Libgcrypt/src/visibility.c
+++ b/plugins/MirOTR/Libgcrypt/src/visibility.c
@@ -292,7 +292,7 @@ gcry_mpi_copy (const gcry_mpi_t a)
void
gcry_mpi_snatch (gcry_mpi_t w, const gcry_mpi_t u)
{
- return _gcry_mpi_snatch (w, u);
+ _gcry_mpi_snatch (w, u);
}
gcry_mpi_t
@@ -675,8 +675,9 @@ _gcry_mpi_get_const (int no)
case 3: return _gcry_mpi_const (MPI_C_THREE);
case 4: return _gcry_mpi_const (MPI_C_FOUR);
case 8: return _gcry_mpi_const (MPI_C_EIGHT);
- default: log_bug("unsupported GCRYMPI_CONST_ macro used\n");
}
+ log_bug("unsupported GCRYMPI_CONST_ macro used\n");
+ return NULL;
}
gcry_error_t