su: remove duplicate const declaration

login-utils/su-common.c:619:14: warning: duplicate 'const' declaration
specifier [-Wduplicate-decl-specifier]
   const char const **args = xcalloc (n_args, sizeof *args);

Regression-from: 71f207a5f5
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-05-16 09:25:57 +01:00 committed by Karel Zak
parent 9ac755f6c3
commit 90936fafb4
1 changed files with 1 additions and 1 deletions

View File

@ -616,7 +616,7 @@ run_shell (char const * const shell, char const * const command, char ** const a
const size_t n_additional_args)
{
const size_t n_args = 1 + fast_startup + 2 * !!command + n_additional_args + 1;
const char const **args = xcalloc (n_args, sizeof *args);
const char **args = xcalloc (n_args, sizeof *args);
size_t argno = 1;
if (simulate_login)