[PATCH] config: bugfix: parse commandline options into correct object



Config related commandline options should be parsed into a function argument but
were instead parsed into an object with local scope. As a result none of them
had any impact.

Signed-off-by: Ulrich Ölmann <u oelmann pengutronix de>
---
 src/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 495262e..a9bc479 100644
--- a/src/main.c
+++ b/src/main.c
@@ -246,7 +246,6 @@ do_early_setup (int *argc, char **argv[], NMConfigCmdLineOptions *config_cli)
                {NULL}
        };
 
-       config_cli = nm_config_cmd_line_options_new ();
        if (!nm_main_utils_early_setup ("NetworkManager",
                                        argc,
                                        argv,
-- 
1.9.1



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