From 49b5b3b40377327f52495404a75bef2516fcbdbd Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 5 Dec 2017 18:34:46 +0900 Subject: [PATCH] dissect-image: remove unused variable when built without libcryptsetup (#7538) --- src/shared/dissect-image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index 7835d99020b..5c69b87c00f 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -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 -- 2.39.5