From: Pierre-Marc Fournier Date: Mon, 15 Jun 2009 17:10:43 +0000 (-0400) Subject: ust: fix warnings X-Git-Tag: v1.9.1~972 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=27ac60757bacb8a0cdc9c1a73400b36f50689730;p=lttng-ust.git ust: fix warnings --- diff --git a/ust/ust.c b/ust/ust.c index b2f30f0a..d957cb3a 100644 --- a/ust/ust.c +++ b/ust/ust.c @@ -34,14 +34,12 @@ Commands:\n\ int parse_opts_long(int argc, char **argv, struct ust_opts *opts) { int c; - int digit_optind = 0; opts->cmd = NULL; opts->pids = NULL; opts->take_reply = 0; while (1) { - int this_option_optind = optind ? optind : 1; int option_index = 0; static struct option long_options[] = { {"start-trace", 0, 0, 1000},