]> git.tuebingen.mpg.de Git - adu.git/blobdiff - select.c
split_args(): Do not insist on checking the return value.
[adu.git] / select.c
index 6ef289152c42a77f6f14acb8042bcd345463b5f2..d052dfb953bf0f1f1159716107ed467e87436925 100644 (file)
--- a/select.c
+++ b/select.c
@@ -818,7 +818,7 @@ static int print_statistics(struct format_info *fi)
 
 static int open_pipe(char *path)
 {
-       int p[2], ret, argc;
+       int p[2], ret;
        char **argv;
 
        ret = pipe(p);
@@ -839,7 +839,7 @@ static int open_pipe(char *path)
        if (p[0] != STDIN_FILENO)
                dup2(p[0], STDIN_FILENO);
        DEBUG_LOG("executing %s\n", path);
-       argc = split_args(path, &argv, " \t");
+       split_args(path, &argv, " \t");
        execvp(argv[0], argv);
        ERROR_LOG("error executing %s: %s\n", path,
                adu_strerror(ERRNO_TO_ERROR(errno)));