mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
cryptsetup: no need to zero-initialize zero-initialized structures
This commit is contained in:
parent
f200a3564c
commit
0e3cb57dae
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user