From c7e005899413a22b4e0a241e26b49039e55963ee Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 5 Sep 2021 15:51:29 +0100 Subject: [PATCH] config: remove unnecessary padding Signed-off-by: Sami Kerola --- src/dhcpd-pools.c | 3 +-- src/dhcpd-pools.h | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/dhcpd-pools.c b/src/dhcpd-pools.c index 1488541..1373053 100644 --- a/src/dhcpd-pools.c +++ b/src/dhcpd-pools.c @@ -343,8 +343,7 @@ int main(int argc, char **argv) .header_limit = 8, .ranges_size = 64, .ip_version = IPvUNKNOWN, - .color_mode = color_auto, - 0 + .color_mode = color_auto }; int ret_val; diff --git a/src/dhcpd-pools.h b/src/dhcpd-pools.h index 36ec255..0f93b80 100644 --- a/src/dhcpd-pools.h +++ b/src/dhcpd-pools.h @@ -127,7 +127,6 @@ struct shared_network_t { double backups; struct shared_network_t *next; int netmask; - uint32_t pad; }; /*! \struct range_t @@ -152,7 +151,6 @@ struct output_helper_t { double tcp; double bup; int status; - uint32_t pad; }; /*! \struct status_counts_t @@ -182,7 +180,6 @@ struct leases_t { char *ethernet; UT_hash_handle hh; enum ltype type; - uint32_t pad; }; /*! \enum limbits @@ -251,8 +248,7 @@ struct conf_t { skip_critical:1, /*!< Skip critical values from output. */ skip_minsize:1, /*!< Skip alarming values that are below minsize from output. */ skip_suppressed:1, /*!< Skip alarming values that are suppressed with --snet-alarms option, or they are shared networks without IP availability. */ - color_mode:2, /*!< Indicator if colors should be used in output. */ - pad_bits:4; + color_mode:2; /*!< Indicator if colors should be used in output. */ }; /* Function prototypes */