1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00

dissect-image: remove unused variable when built without libcryptsetup (#7538)

This commit is contained in:
Yu Watanabe 2017-12-05 18:34:46 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent bd07d3d0b4
commit 49b5b3b403

View File

@ -976,8 +976,8 @@ int dissected_image_decrypt(
DissectImageFlags flags,
DecryptedImage **ret) {
_cleanup_(decrypted_image_unrefp) DecryptedImage *d = NULL;
#if HAVE_LIBCRYPTSETUP
_cleanup_(decrypted_image_unrefp) DecryptedImage *d = NULL;
unsigned i;
int r;
#endif