diff options
author | Steven Schubiger <stsc@refcnt.org> | 2014-01-05 13:31:52 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2014-01-05 13:31:52 +0100 |
commit | ce660230531f9136b7cba705e6ae06a1e370ef74 (patch) | |
tree | e56f140a6566b7afc509a3f2146df86d690a7cf2 /colorize.c | |
parent | 76aaf053b7016da083c0cdcacae05a8eb7f35688 (diff) | |
download | colorize-ce660230531f9136b7cba705e6ae06a1e370ef74.tar.gz colorize-ce660230531f9136b7cba705e6ae06a1e370ef74.tar.bz2 |
Silence warnings under -pedantic
Diffstat (limited to 'colorize.c')
-rw-r--r-- | colorize.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -211,6 +211,8 @@ static void release_var (void **, unsigned int, void **); extern char *optarg; extern int optind; +static int opt_type = 0; + int main (int argc, char **argv) { @@ -224,7 +226,7 @@ main (int argc, char **argv) OPT_VERSION }; - int opt, opt_type = 0; + int opt; struct option long_opts[] = { { "clean", no_argument, &opt_type, OPT_CLEAN }, { "clean-all", no_argument, &opt_type, OPT_CLEAN_ALL }, |