Remove a compiler warning on uninitialized variable

This is not really ever used, but better keep the compiler output
cleaner.
This commit is contained in:
Jouni Malinen 2011-06-21 20:54:17 +03:00 committed by Jouni Malinen
parent 7dcdcfd68d
commit 55e632df72

View file

@ -1852,6 +1852,7 @@ u8 * ieee802_1x_get_radius_class(struct eapol_state_machine *sm, size_t *len,
const u8 * ieee802_1x_get_key(struct eapol_state_machine *sm, size_t *len)
{
*len = 0;
if (sm == NULL)
return NULL;