From: Yu Watanabe Date: Tue, 5 Dec 2017 09:34:46 +0000 (+0900) Subject: dissect-image: remove unused variable when built without libcryptsetup (#7538) X-Git-Tag: v236~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49b5b3b40377327f52495404a75bef2516fcbdbd;p=thirdparty%2Fsystemd.git dissect-image: remove unused variable when built without libcryptsetup (#7538) --- 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