From bc79016a55a824ed5e8db346156dd8409f1fe5f3 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Sun, 16 Apr 2017 23:06:04 +0200 Subject: Mark correct variables unused in FFI botan_{pub,priv}key_load_elgamal Closes #1011 --- src/lib/ffi/ffi.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ffi/ffi.cpp b/src/lib/ffi/ffi.cpp index 6aedd2a38..0c5a3de67 100644 --- a/src/lib/ffi/ffi.cpp +++ b/src/lib/ffi/ffi.cpp @@ -1438,10 +1438,7 @@ int botan_pubkey_load_elgamal(botan_pubkey_t* key, return -1; #else - BOTAN_UNUSED(p); - BOTAN_UNUSED(q); - BOTAN_UNUSED(g); - BOTAN_UNUSED(x); + BOTAN_UNUSED(key, p, g, y); return BOTAN_FFI_ERROR_NOT_IMPLEMENTED; #endif } @@ -1464,9 +1461,7 @@ int botan_privkey_load_elgamal(botan_privkey_t* key, } return -1; #else - BOTAN_UNUSED(p); - BOTAN_UNUSED(g); - BOTAN_UNUSED(x); + BOTAN_UNUSED(key, p, g, x); return BOTAN_FFI_ERROR_NOT_IMPLEMENTED; #endif } -- cgit v1.2.3