]> granicus.if.org Git - procps-ng/commitdiff
watch: remove unused variables
authorSami Kerola <kerolasa@iki.fi>
Sat, 25 Feb 2012 21:48:15 +0000 (22:48 +0100)
committerCraig Small <csmall@enc.com.au>
Sat, 3 Mar 2012 07:31:13 +0000 (18:31 +1100)
watch.c:281:43: warning: unused variable 'option_version' [-Wunused-variable]
watch.c:281:26: warning: unused variable 'option_help' [-Wunused-variable]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Conflicts:

watch.c

watch.c

diff --git a/watch.c b/watch.c
index 69d3a0ae5b919fbd283f656ff496c150c05e618c..aae46321727114f6ab104a87ec033fa783bbc810 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -279,7 +279,7 @@ int main(int argc, char *argv[])
            option_exec = 0,
            option_beep = 0,
            option_color = 0,
-           option_errexit = 0, option_chgexit = 0, option_help = 0, option_version = 0;
+           option_errexit = 0, option_chgexit = 0;
        double interval = 2;
        char *command;
        char **command_argv;