mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-11 21:48:50 +01:00
dirmngr: Avoid a declarations after statements.
* tools/gpgtar.c (parse_arguments): Use a block for a local varibale definition. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
6501741d2c
commit
100f34e869
@ -347,6 +347,7 @@ parse_arguments (ARGPARSE_ARGS *pargs, ARGPARSE_OPTS *popts)
|
||||
case oCMS: /* Dummy option for now. */ break;
|
||||
|
||||
case oGpgArgs:;
|
||||
{
|
||||
strlist_t list;
|
||||
if (shell_parse_stringlist (pargs->r.ret_str, &list))
|
||||
log_error ("failed to parse gpg arguments '%s'\n",
|
||||
@ -358,9 +359,11 @@ parse_arguments (ARGPARSE_ARGS *pargs, ARGPARSE_OPTS *popts)
|
||||
else
|
||||
opt.gpg_arguments = list;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case oTarArgs:;
|
||||
{
|
||||
int tar_argc;
|
||||
char **tar_argv;
|
||||
|
||||
@ -379,6 +382,7 @@ parse_arguments (ARGPARSE_ARGS *pargs, ARGPARSE_OPTS *popts)
|
||||
pargs->r.ret_str);
|
||||
pargs->err = tar_args.err;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case oDryRun:
|
||||
|
Loading…
Reference in New Issue
Block a user