From: Jim Meyering Date: Wed, 5 Mar 2003 17:44:08 +0000 (+0000) Subject: (print_esc): Remove pointless comparison of unsigned X-Git-Tag: v4.5.9~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57bdc54b219e0e95c80f7e31ac1510f533981014;p=thirdparty%2Fcoreutils.git (print_esc): Remove pointless comparison of unsigned integer with zero, to avoid a warning from Intel's ecc. --- diff --git a/src/printf.c b/src/printf.c index 8c1ba1755b..8c5c1aa652 100644 --- a/src/printf.c +++ b/src/printf.c @@ -1,5 +1,5 @@ /* printf - format and print data - Copyright (C) 1990-2002, Free Software Foundation, Inc. + Copyright (C) 1990-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 @@ -283,7 +283,7 @@ print_esc (const char *escstart) 0000009F, or 0000D800 through 0000DFFF inclusive. A universal character name shall not designate a character in the required character set. */ - if ((uni_value >= 0x00 && uni_value <= 0x9f + if ((uni_value <= 0x9f && uni_value != 0x24 && uni_value != 0x40 && uni_value != 0x60) || (uni_value >= 0xd800 && uni_value <= 0xdfff)) error (EXIT_FAILURE, 0, _("invalid universal character name \\%c%0*x"),