From: Jouni Malinen Date: Sat, 16 Mar 2013 10:03:37 +0000 (+0200) Subject: libtommath: Avoid a compiler warning on unused variable X-Git-Tag: aosp-kk-from-upstream~456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526b3a12f13b1fc925a55eb9c484c77b515a4e4a;p=thirdparty%2Fhostap.git libtommath: Avoid a compiler warning on unused variable Signed-hostap: Jouni Malinen --- 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 */ + } }