From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) by mx.groups.io with SMTP id smtpd.web12.1070.1607654018253782707 for ; Thu, 10 Dec 2020 18:33:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: huawei.com, ip: 45.249.212.191, mailfrom: xiewenyi2@huawei.com) Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CsZZj3DWSzhq6F; Fri, 11 Dec 2020 10:33:01 +0800 (CST) Received: from HGH1000039998.huawei.com (10.184.68.188) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Fri, 11 Dec 2020 10:33:25 +0800 From: "wenyi,xie" To: , , , CC: , Subject: [PATCH EDK2 v1 0/1] BaseTools/EfiRom: remove redundant checking of argc Date: Fri, 11 Dec 2020 10:31:42 +0800 Message-ID: <1607653903-125927-1-git-send-email-xiewenyi2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.184.68.188] X-CFilter-Loop: Reflected Content-Type: text/plain Main Changes : As the condition of while statement is argc > 0, so argc < 1 will always be false. Wenyi Xie (1): BaseTools/EfiRom: remove redundant checking of argc BaseTools/Source/C/EfiRom/EfiRom.c | 10 ---------- 1 file changed, 10 deletions(-) -- 2.20.1.windows.1