diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-12 09:20:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-12 09:20:47 +0000 |
commit | be6a1bab4fd4352a559635725ce4bb24dc565d13 (patch) | |
tree | 52d806a463b3b2fdb1289eb9079d071efb7b10a3 | |
parent | 4839fcb1c0567a5dbd848f9584950a8da4c221e8 (diff) | |
download | coreutils-be6a1bab4fd4352a559635725ce4bb24dc565d13.tar.xz |
(portable_chars_only): Remove unnecessary `const'
in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz.
-rw-r--r-- | src/pathchk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index e76abe78b..d84b4b620 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -1,5 +1,5 @@ /* pathchk -- check whether pathnames are valid or portable - Copyright (C) 1991-2002 Free Software Foundation, Inc. + Copyright (C) 1991-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -232,7 +232,7 @@ portable_chars_only (const char *path) const char *p; for (p = path; *p; ++p) - if (portable_chars[(const unsigned char) *p] == 0) + if (portable_chars[(unsigned char) *p] == 0) { error (0, 0, _("path `%s' contains nonportable character `%c'"), path, *p); |