]> git.proxmox.com Git - mirror_edk2.git/commit
PcAtChipsetPkg SerialIoLib: Fix VS2010 build error
authorHao Wu <hao.a.wu@intel.com>
Mon, 11 Jan 2016 00:34:36 +0000 (00:34 +0000)
committerhwu1225 <hwu1225@Edk2>
Mon, 11 Jan 2016 00:34:36 +0000 (00:34 +0000)
commitde3ecb331fc45550d41d35110948cb96e32df08a
tree95f9b92bb559852a86a11263864c479919784084
parent4977ee965f110069bf5e8a66f7d4b345995ef282
PcAtChipsetPkg SerialIoLib: Fix VS2010 build error

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
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19629 6f19259b-4bc3-4df7-8a09-765794883524
PcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c