diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-04-05 22:22:43 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-04-05 22:22:43 +0000 |
| commit | f79477ebd57d7b0e69654281387ba5db8950ebd8 (patch) | |
| tree | faea96276892037b8a05480db3056c01225166f2 /usr.bin/sort/vsort.c | |
| parent | c2dc6e2aab1012297a3bd69dfc623125b57b9623 (diff) | |
Notes
Diffstat (limited to 'usr.bin/sort/vsort.c')
| -rw-r--r-- | usr.bin/sort/vsort.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/sort/vsort.c b/usr.bin/sort/vsort.c index 5d15f9af36960..c6668147d9316 100644 --- a/usr.bin/sort/vsort.c +++ b/usr.bin/sort/vsort.c @@ -40,21 +40,18 @@ __FBSDID("$FreeBSD$"); static inline bool isdigit_clocale(wchar_t c) { - return (c >= L'0' && c <= L'9'); } static inline bool isalpha_clocale(wchar_t c) { - return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z')); } static inline bool isalnum_clocale(wchar_t c) { - return ((c >= L'a' && c <= L'z') || (c >= L'A' && c <= L'Z') || (c >= L'0' && c <= L'9')); } @@ -115,7 +112,6 @@ find_suffix(bwstring_iterator si, bwstring_iterator se, size_t *len) static inline int cmp_chars(wchar_t c1, wchar_t c2) { - if (c1 == c2) return (0); |
