]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg BaseSerialPortLib: Fix VS2010 build error
authorHao Wu <hao.a.wu@intel.com>
Mon, 11 Jan 2016 00:34:15 +0000 (00:34 +0000)
committerhwu1225 <hwu1225@Edk2>
Mon, 11 Jan 2016 00:34:15 +0000 (00:34 +0000)
commit4977ee965f110069bf5e8a66f7d4b345995ef282
treeda540b185d5c4a13912ccdddf27fbfdec9af6f39
parentc96bf1ff2c699622a4ee28e810497f64fe666c1a
MdeModulePkg BaseSerialPortLib: 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@19628 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c