Re: [edk2] [PATCH] MdeModulePkg BaseSerialPortLib: Fix VS2010 build error

2016-01-07 Thread Wu, Hao A
n > Subject: Re: [edk2] [PATCH] MdeModulePkg BaseSerialPortLib: Fix VS2010 > build error > > Hao, > > Could you also do the similar fix for > PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c? > > Thanks, > Star > > On 2016/1/7 12:40, Hao Wu wrote: > > W

Re: [edk2] [PATCH] MdeModulePkg BaseSerialPortLib: Fix VS2010 build error

2016-01-07 Thread Zeng, Star
Hao, Could you also do the similar fix for PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c? Thanks, Star On 2016/1/7 12:40, Hao Wu wrote: When overriding compiler options '/GL' with '/GL-', VS2010 will report warning C4701 potentially uninitialized local variable for 'LcrParity' and

[edk2] [PATCH] MdeModulePkg BaseSerialPortLib: Fix VS2010 build error

2016-01-06 Thread Hao Wu
When overriding compiler options '/GL' with '/GL-', VS2010 will report warning C4701 potentially uninitialized local variable for 'LcrParity' and 'LcrStop' in function SerialPortSetAttributes(). This commit fixes this build issue. Contributed-under: TianoCore Contribution Agreement 1.0