mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
cryptsetup: no need to zero-initialize zero-initialized structures
This commit is contained in:
@@ -369,9 +369,6 @@ static crypto_device *get_crypto_device(const char *uuid) {
|
||||
if (!d)
|
||||
return NULL;
|
||||
|
||||
d->create = false;
|
||||
d->keyfile = d->options = d->name = NULL;
|
||||
|
||||
d->uuid = strdup(uuid);
|
||||
if (!d->uuid)
|
||||
return mfree(d);
|
||||
|
||||
Reference in New Issue
Block a user