From 371c8b5d055926b81685e4399e98e8b919e8d13f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Thu, 31 Dec 2020 06:25:17 -0500 Subject: [PATCH] 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. --- src/veritysetup/veritysetup.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/veritysetup/veritysetup.c b/src/veritysetup/veritysetup.c index 1863bdfa32..cd9f0e7f64 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) {