From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=67.231.154.164; helo=dispatch1-us1.ppe-hosted.com; envelope-from=tpilar@solarflare.com; receiver=edk2-devel@ml01.01.org Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EEF6921157FCD for ; Wed, 26 Sep 2018 03:15:41 -0700 (PDT) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id B64E5780059 for ; Wed, 26 Sep 2018 10:15:40 +0000 (UTC) Received: from tp-desktop.uk.solarflarecom.com (10.17.20.51) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Sep 2018 03:15:38 -0700 From: "Tomas Pilar (tpilar)" To: "edk2-devel@lists.01.org" Message-ID: Date: Wed, 26 Sep 2018 11:15:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 X-Originating-IP: [10.17.20.51] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24118.005 X-TM-AS-Result: No-2.641800-4.000000-10 X-TMASE-MatchedRID: I1wtkSt6/wJ6WEEZZrt3Mn4f9De+CyQCTJDl9FKHbrlNShtWKzkFv5Jo t8xOxyL5rEyNGiLEMZyRk6XtYogiam+YnOq0coePlpYqKNmWxsHZs3HUcS/scCq2rl3dzGQ1Gpe evGsoI5cxB44ml2OI4517ELW+CP0E6HUzcHFREwP5fZurXyw+3/Oa4h29Sh/pp7/8sx/SuNn1t/ BHB8OSC0jTO7qjaXdnvQOP+akFbv54WbcYkNhKkm/o7o2EYRwpFkjmEOIZ4mJsz5lWf0BYnn7cG d19dSFd X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.641800-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24118.005 X-MDID: 1537956941-rcf-7_T9xzVJ Subject: [PATCH v2] ShellPkg: Remove unused InvalidCharacters[] in Shell.c X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2018 10:15:42 -0000 Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: quoted-printable This fixes unused const variable compilation error with gcc 7.3. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Tomas Pilar --- ShellPkg/Application/Shell/Shell.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shel= l/Shell.c index 397cfd1994..3f3bcbb4b0 100644 --- a/ShellPkg/Application/Shell/Shell.c +++ b/ShellPkg/Application/Shell/Shell.c @@ -2750,9 +2750,6 @@ RunCommand( return (RunShellCommand(CmdLine, NULL)); } - -STATIC CONST UINT16 InvalidChars[] =3D {L'*', L'?', L'<', L'>', L'\\', L'/= ', L'\"', 0x0001, 0x0002}; - /** Function to process a NSH script file via SHELL_FILE_HANDLE. -- 2.17.1 The information contained in this message is confidential and is intended f= or the addressee(s) only. If you have received this message in error, pleas= e notify the sender immediately and delete the message. Unless you are an a= ddressee (or authorized to receive for an addressee), you may not use, copy= or disclose to anyone this message or any information contained in this me= ssage. The unauthorized use, disclosure, copying or alteration of this mess= age is strictly prohibited.