diff options
author | Pavel Reichl <reichl.pavel@gmail.com> | 2015-10-21 11:15:32 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2015-10-21 13:32:39 +0200 |
commit | c12cd2d95d08c9316bc358c2f7707d92551b6909 (patch) | |
tree | b4f899066e4488524607b5d2914f02e61781c4de /src/tools | |
parent | 96544fca522e66b4f69b4252854a5f672c96f9c4 (diff) | |
download | sssd-c12cd2d95d08c9316bc358c2f7707d92551b6909.tar.gz sssd-c12cd2d95d08c9316bc358c2f7707d92551b6909.tar.xz sssd-c12cd2d95d08c9316bc358c2f7707d92551b6909.zip |
sss_override: Remove unused parameter tool_ctx
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/sss_override.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/tools/sss_override.c b/src/tools/sss_override.c index cf19e8287..7441e19e2 100644 --- a/src/tools/sss_override.c +++ b/src/tools/sss_override.c @@ -136,7 +136,6 @@ static int parse_cmdline_group_del(struct sss_cmdline *cmdline, } static int parse_cmdline_import(struct sss_cmdline *cmdline, - struct sss_tool_ctx *tool_ctx, const char **_file) { int ret; @@ -153,7 +152,6 @@ static int parse_cmdline_import(struct sss_cmdline *cmdline, } static int parse_cmdline_export(struct sss_cmdline *cmdline, - struct sss_tool_ctx *tool_ctx, const char **_file) { int ret; @@ -1169,7 +1167,7 @@ static int override_user_import(struct sss_cmdline *cmdline, {SSS_COLONDB_SENTINEL, {0}} }; - ret = parse_cmdline_import(cmdline, tool_ctx, &filename); + ret = parse_cmdline_import(cmdline, &filename); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse command line.\n"); exit = EXIT_FAILURE; @@ -1235,7 +1233,7 @@ static int override_user_export(struct sss_cmdline *cmdline, int exit; int i; - ret = parse_cmdline_export(cmdline, tool_ctx, &filename); + ret = parse_cmdline_export(cmdline, &filename); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse command line.\n"); exit = EXIT_FAILURE; @@ -1374,7 +1372,7 @@ static int override_group_import(struct sss_cmdline *cmdline, {SSS_COLONDB_SENTINEL, {0}} }; - ret = parse_cmdline_import(cmdline, tool_ctx, &filename); + ret = parse_cmdline_import(cmdline, &filename); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse command line.\n"); exit = EXIT_FAILURE; @@ -1440,7 +1438,7 @@ static int override_group_export(struct sss_cmdline *cmdline, int exit; int i; - ret = parse_cmdline_export(cmdline, tool_ctx, &filename); + ret = parse_cmdline_export(cmdline, &filename); if (ret != EOK) { DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse command line.\n"); exit = EXIT_FAILURE; |