From: Jouni Malinen Date: Sat, 11 Oct 2014 15:13:32 +0000 (+0300) Subject: EAP-SIM DB: Remove unused assignment X-Git-Tag: hostap_2_4~1352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=918bd0fe78878dd6465da0902c05b2b742311fdc;p=thirdparty%2Fhostap.git EAP-SIM DB: Remove unused assignment Signed-off-by: Jouni Malinen --- diff --git a/src/eap_server/eap_sim_db.c b/src/eap_server/eap_sim_db.c index bc2cbe5bc..c3f9e8ef5 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; }