From 526b3a12f13b1fc925a55eb9c484c77b515a4e4a Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 16 Mar 2013 12:03:37 +0200 Subject: [PATCH] libtommath: Avoid a compiler warning on unused variable Signed-hostap: Jouni Malinen --- src/tls/libtommath.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tls/libtommath.c b/src/tls/libtommath.c index 821d7546f..3fb8fbed2 100644 --- a/src/tls/libtommath.c +++ b/src/tls/libtommath.c @@ -676,6 +676,9 @@ static int mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y) #ifdef BN_MP_EXPTMOD_FAST_C } #endif + if (dr == 0) { + /* avoid compiler warnings about possibly unused variable */ + } }