]> git.tue.mpg.de Git - adu.git/commitdiff
interactive.c: Kill pointless initialization.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:38:08 +0000 (17:38 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Jan 2015 17:40:02 +0000 (17:40 +0000)
Found by cppcheck.

interactive.c

index 05830f1bf8fe860d04ebede3aeaedc40a90c3b18..61b4f293562bfe8077f9bcc25f528887605bb7ce 100644 (file)
@@ -219,7 +219,7 @@ out:
 int com_interactive(void)
 {
        char line[255];
-       int ret = 1;
+       int ret;
 
        select_cmdline_parser_init(&select_conf);
        ret = parse_select_options(NULL, NULL, &admissible_uids, &fi);