[PATCH] ggsn/cmdline: remove unused variable check_required

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Max msuraev at sysmocom.de
Tue May 31 13:15:30 UTC 2016


I think we should drop ggsn/cmdline.* from git and add compile-time
dependency on gengetopt. It's available everywhere anyway and this would
match the way we deal with generated code in libosmocore.

On 05/31/2016 02:47 PM, Alexander Couzens wrote:
> fix an unused warning
> ---
>  ggsn/cmdline.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/ggsn/cmdline.c b/ggsn/cmdline.c
> index 31c0744..2ef87cb 100644
> --- a/ggsn/cmdline.c
> +++ b/ggsn/cmdline.c
> @@ -609,14 +609,12 @@ cmdline_parser_internal (
>    
>    int override;
>    int initialize;
> -  int check_required;
>    int check_ambiguity;
>    
>    package_name = argv[0];
>    
>    override = params->override;
>    initialize = params->initialize;
> -  check_required = params->check_required;
>    check_ambiguity = params->check_ambiguity;
>  
>    if (initialize)

-- 
Max Suraev <msuraev at sysmocom.de> http://www.sysmocom.de/
======================================================================= 
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93 
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B 
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte 




More information about the osmocom-net-gprs mailing list