From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 4347A3858C27; Mon, 24 Apr 2023 20:42:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4347A3858C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682368937; bh=nZDsSKieoSPVWnbso+IiDBln+6HAlq+c5g9RC9DwlBc=; h=From:To:Subject:Date:From; b=hUhyg5KuCcdbopnuzL+Mx9l1XXpoi709x3HKogRyKkDIx3oOeyPzrSHivD8LRtaHd tYdIUiWj9iDsw2gblP6zJITFecOwTsSr14veoDANUNRvRHnxOCrV+KKgq4N7U/Xcfl ACyKy0Ur+/GDrdJQEYJ/+mqsDgGkSozQNfI9zoj4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: locales: drop unused has_modifier macro X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: 48ae24fd8159109077b71d41e528e08b325ded1f X-Git-Newrev: c3798a2f7ddaedd91d5ea76a8adc5a4ee652cffd Message-Id: <20230424204217.4347A3858C27@sourceware.org> Date: Mon, 24 Apr 2023 20:42:17 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dc3798a2f7dd= aedd91d5ea76a8adc5a4ee652cffd commit c3798a2f7ddaedd91d5ea76a8adc5a4ee652cffd Author: Corinna Vinschen AuthorDate: Mon Apr 24 22:40:54 2023 +0200 Commit: Corinna Vinschen CommitDate: Mon Apr 24 22:41:41 2023 +0200 Cygwin: locales: drop unused has_modifier macro =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/nlsfuncs.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index 7d17b1069e39..b32fecc8ec33 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -37,8 +37,6 @@ details. */ #define charfromwchar(category,in) \ __charfromwchar (_##category##_locale->in,_LC(category),f_wctomb) =20 -#define has_modifier(x) ((x)[0] && !strcmp (modifier, (x))) - /* Check for @cjk* modifier. Try to be as fast as possible */ #define __is_cjk_modifier(_in, _cmp, _L) ({ \ _in[1] =3D=3D 'c' \