aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-10-11 15:13:32 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-11 15:13:32 (GMT)
commit918bd0fe78878dd6465da0902c05b2b742311fdc (patch)
treecb4c86679becb650019f2d2ecbbf92801004788d /src/eap_server
parent6f577c5e4549a4f2d90d93349a1fff4d9dcbc11e (diff)
downloadhostap-918bd0fe78878dd6465da0902c05b2b742311fdc.zip
hostap-918bd0fe78878dd6465da0902c05b2b742311fdc.tar.gz
hostap-918bd0fe78878dd6465da0902c05b2b742311fdc.tar.bz2
EAP-SIM DB: Remove unused assignment
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_server')
-rw-r--r--src/eap_server/eap_sim_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_server/eap_sim_db.c b/src/eap_server/eap_sim_db.c
index bc2cbe5..c3f9e8e 100644
--- a/src/eap_server/eap_sim_db.c
+++ b/src/eap_server/eap_sim_db.c
@@ -966,7 +966,7 @@ static char * eap_sim_db_get_next(struct eap_sim_db_data *data, char prefix)
pos = id;
end = id + sizeof(buf) * 2 + 2;
*pos++ = prefix;
- pos += wpa_snprintf_hex(pos, end - pos, buf, sizeof(buf));
+ wpa_snprintf_hex(pos, end - pos, buf, sizeof(buf));
return id;
}