wc: simplify #if MB_LEN_MAX
commitc5a210a9c86f3e15b6ae988da4505a031b6a9f7c
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 22 Sep 2023 15:17:15 +0000 (22 08:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Sep 2023 07:28:26 +0000 (23 00:28 -0700)
treed7f116dbc4c2e0ae84c51adc3da3a1867331c99e
parentfb51f74ff61d23dd6067e82833aac0ca62312261
wc: simplify #if MB_LEN_MAX

* src/wc.c: Don’t have special #ifs for platforms where
MB_LEN_MAX is 1.  On these platforms, MB_CUR_MAX is 1 as well,
so the compiler should optimize away all multi-byte code.
src/wc.c