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:
parent
7dcdcfd68d
commit
55e632df72
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue