projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de71849
)
libtommath: Avoid a compiler warning on unused variable
author
Jouni Malinen
<j@w1.fi>
Sat, 16 Mar 2013 10:03:37 +0000
(12:03 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sat, 16 Mar 2013 10:03:37 +0000
(12:03 +0200)
Signed-hostap: Jouni Malinen <j@w1.fi>
src/tls/libtommath.c
patch
|
blob
|
history
diff --git
a/src/tls/libtommath.c
b/src/tls/libtommath.c
index
821d754
..
3fb8fbe
100644
(file)
--- 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 */
+ }
}