From: Gaƫl PORTAY Date: Thu, 31 Dec 2020 11:25:17 +0000 (-0500) Subject: veritysetup: remove unused globals X-Git-Tag: v248-rc1~321^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=371c8b5d055926b81685e4399e98e8b919e8d13f;p=thirdparty%2Fsystemd.git veritysetup: remove unused globals This removes the three global variables arg_root_hash, arg_data_what and arg_hash_what which were presents since the beginning but were never being used. --- diff --git a/src/veritysetup/veritysetup.c b/src/veritysetup/veritysetup.c index 1863bdfa326..cd9f0e7f64b 100644 --- a/src/veritysetup/veritysetup.c +++ b/src/veritysetup/veritysetup.c @@ -15,15 +15,9 @@ #include "string-util.h" #include "terminal-util.h" -static char *arg_root_hash = NULL; -static char *arg_data_what = NULL; -static char *arg_hash_what = NULL; static uint32_t arg_activate_flags = CRYPT_ACTIVATE_READONLY; static char *arg_root_hash_signature = NULL; -STATIC_DESTRUCTOR_REGISTER(arg_root_hash, freep); -STATIC_DESTRUCTOR_REGISTER(arg_data_what, freep); -STATIC_DESTRUCTOR_REGISTER(arg_hash_what, freep); STATIC_DESTRUCTOR_REGISTER(arg_root_hash_signature, freep); static int help(void) {