Re: [PATCH] iptables: xtables-eb: Remove const qualifier from struct option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 30, 2017 at 07:18:05PM +0530, Varsha Rao wrote:
> As opts is reassigned multiple times, it cannot be made constant.
> So remove const qualifier from structure option. This patch fixes the
> following warning.
> 
> xtables-eb.c: In function ‘ebt_load_match_extensions’:
> xtables-eb.c:653:7: warning: assignment discards ‘const’ qualifier
> from pointer target type
>   opts = ebt_original_options;

Applied, thanks Varsha.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux