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:
James Prestwood 2022-06-10 12:52:40 -07:00 committed by Denis Kenzior
parent c7640f8346
commit 8a8c2fbe38
1 changed files with 0 additions and 2 deletions

View File

@ -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,
bool *encrypt)
{
_auto_(l_settings_free) struct l_settings *security = NULL;
_auto_(l_free) uint8_t *encrypted = NULL;
_auto_(l_free) uint8_t *decrypted = NULL;
_auto_(l_free) uint8_t *salt = NULL;
_auto_(l_strv_free) char **embedded = NULL;
_auto_(l_strv_free) char **groups = NULL;
char **i;
size_t elen, slen;