EAP-SIM DB: Remove unused assignment
authorJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 15:13:32 +0000 (18:13 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Oct 2014 15:13:32 +0000 (18:13 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_server/eap_sim_db.c

index bc2cbe5..c3f9e8e 100644 (file)
@@ -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;
 }