From 7e50ebabbf9c3a5eeb9511d9f32c6104b56da5cd Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 19 Sep 2018 15:17:04 +0200 Subject: Fix a few cases of pointless assignments This gets rid of a number of assignments which are either redundant or not used afterwards. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- libxtables/xtoptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libxtables') diff --git a/libxtables/xtoptions.c b/libxtables/xtoptions.c index 05887a05..d329f2ff 100644 --- a/libxtables/xtoptions.c +++ b/libxtables/xtoptions.c @@ -286,7 +286,7 @@ static void xtopt_mint_value_to_ptr(struct xt_option_call *cb, void **datap, static void xtopt_parse_mint(struct xt_option_call *cb) { const struct xt_option_entry *entry = cb->entry; - const char *arg = cb->arg; + const char *arg; size_t esize = xtopt_esize_by_type(entry->type); const uintmax_t lmax = xtopt_max_by_type(entry->type); void *put = XTOPT_MKPTR(cb); -- cgit v1.2.3