=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sort/vsort.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/sort/vsort.c 2015/03/17 17:45:13 1.1 +++ src/usr.bin/sort/vsort.c 2015/04/01 21:46:38 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: vsort.c,v 1.1 2015/03/17 17:45:13 millert Exp $ */ +/* $OpenBSD: vsort.c,v 1.2 2015/04/01 21:46:38 millert Exp $ */ /*- * Copyright (C) 2012 Oleg Moskalenko @@ -39,21 +39,18 @@ 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')); } @@ -114,7 +111,6 @@ static inline int cmp_chars(wchar_t c1, wchar_t c2) { - if (c1 == c2) return 0;