Browse Source

EAP-SIM DB: Remove unused assignment

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
918bd0fe78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/eap_server/eap_sim_db.c

+ 1 - 1
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;
 }