From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 62F1021E11D25 for ; Thu, 14 Sep 2017 01:47:28 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2017 01:50:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,391,1500966000"; d="scan'208";a="1014335011" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 14 Sep 2017 01:50:26 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 14 Sep 2017 01:50:26 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 14 Sep 2017 01:50:26 -0700 Received: from shsmsx151.ccr.corp.intel.com ([169.254.3.98]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.219]) with mapi id 14.03.0319.002; Thu, 14 Sep 2017 16:50:24 +0800 From: "Zeng, Star" To: Laszlo Ersek , Ard Biesheuvel CC: "Ni, Ruiyu" , "Dong, Eric" , edk2-devel-01 , "Gao, Liming" , "Zeng, Star" Thread-Topic: [edk2] [PATCH 2/2] MdeModulePkg/UdfDxe: suppress incorrect compiler warning in ReadFile() Thread-Index: AQHTLBYspwdYPe7xxk2VyqRg2zXQbKKyXCZQgAAAteCAAEbqAIAAALaAgADm9jD///oUAIAAjhFw Date: Thu, 14 Sep 2017 08:50:23 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B956B56@SHSMSX151.ccr.corp.intel.com> References: <20170912222612.14451-1-lersek@redhat.com> <20170912222612.14451-3-lersek@redhat.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B94098B@shsmsx102.ccr.corp.intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B9409E7@shsmsx102.ccr.corp.intel.com> <23e789a8-59df-d67d-fa16-fc70aafb95d7@redhat.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B94A227@SHSMSX151.ccr.corp.intel.com> <9b40bdd1-206d-54f8-b83a-b8c2eccae3f2@redhat.com> In-Reply-To: <9b40bdd1-206d-54f8-b83a-b8c2eccae3f2@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 2/2] MdeModulePkg/UdfDxe: suppress incorrect compiler warning in ReadFile() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2017 08:47:28 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SXMgdGhlcmUgR0NDIGNvbXBpbGVyIHZlcnNpb24gZml4ZWQgdGhpcyBraW5kIG9mIGZhbHNlIGFs YXJtPw0KSWYgeWVzLCB0aGUgbGVzc2VyIHZlcnNpb25zIHdpdGhvdXQgZml4IGFyZSB3aGF0IEkg bWVhbiAqT0xEKi4NCg0KDQpUaGFua3MsDQpTdGFyDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KRnJvbTogTGFzemxvIEVyc2VrIFttYWlsdG86bGVyc2VrQHJlZGhhdC5jb21dIA0KU2VudDog VGh1cnNkYXksIFNlcHRlbWJlciAxNCwgMjAxNyA0OjE3IFBNDQpUbzogWmVuZywgU3RhciA8c3Rh ci56ZW5nQGludGVsLmNvbT47IEFyZCBCaWVzaGV1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