X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=select.c;h=d052dfb953bf0f1f1159716107ed467e87436925;hp=6ef289152c42a77f6f14acb8042bcd345463b5f2;hb=cc858ad54f6f5d5d35ea6473b92aad9186c8e363;hpb=c6efe1f82dce725cbf20ca56a6d9e4e493351acd diff --git a/select.c b/select.c index 6ef2891..d052dfb 100644 --- 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)));