diff options
author | Steven Schubiger <stsc@refcnt.org> | 2018-05-23 20:33:27 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2018-05-23 20:33:27 +0200 |
commit | 997dfe07ff91a013f37c744554aaa8b9d8b5539c (patch) | |
tree | 818d310f8c40329b2ab96ce86d934f5b93202700 | |
parent | c6f1715053160df72b63ffc852da15e2c5ca44c4 (diff) | |
download | colorize-997dfe07ff91a013f37c744554aaa8b9d8b5539c.tar.gz colorize-997dfe07ff91a013f37c744554aaa8b9d8b5539c.tar.bz2 |
Const pointers
-rw-r--r-- | colorize.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -339,8 +339,8 @@ main (int argc, char **argv) vfprintf_fail (formats[FMT_GENERIC], "--clean and --clean-all switch are mutually exclusive"); if (arg_cnt > 1) { - const char *format = "%s %s"; - const char *message = "switch cannot be used with more than one file"; + const char *const format = "%s %s"; + const char *const message = "switch cannot be used with more than one file"; if (clean) vfprintf_fail (format, "--clean", message); else if (clean_all) |