]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
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 bc2cbe5bce803bed4fe79c617cb0b8d8693ad4e8..c3f9e8ef5799373b171869bd58d5f35505d50ad1 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;
 }