mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
storage: remove unused variables
The auto macros apparently made it difficult for gcc to detect, but clang was able to find them.
This commit is contained in:
parent
c7640f8346
commit
8a8c2fbe38
@ -456,11 +456,9 @@ char *__storage_encrypt(const struct l_settings *settings, const char *name,
|
|||||||
int __storage_decrypt(struct l_settings *settings, const char *ssid,
|
int __storage_decrypt(struct l_settings *settings, const char *ssid,
|
||||||
bool *encrypt)
|
bool *encrypt)
|
||||||
{
|
{
|
||||||
_auto_(l_settings_free) struct l_settings *security = NULL;
|
|
||||||
_auto_(l_free) uint8_t *encrypted = NULL;
|
_auto_(l_free) uint8_t *encrypted = NULL;
|
||||||
_auto_(l_free) uint8_t *decrypted = NULL;
|
_auto_(l_free) uint8_t *decrypted = NULL;
|
||||||
_auto_(l_free) uint8_t *salt = NULL;
|
_auto_(l_free) uint8_t *salt = NULL;
|
||||||
_auto_(l_strv_free) char **embedded = NULL;
|
|
||||||
_auto_(l_strv_free) char **groups = NULL;
|
_auto_(l_strv_free) char **groups = NULL;
|
||||||
char **i;
|
char **i;
|
||||||
size_t elen, slen;
|
size_t elen, slen;
|
||||||
|
Loading…
Reference in New Issue
Block a user