From: Zhang Lubo Date: Wed, 25 Nov 2015 08:08:25 +0000 (+0000) Subject: MdeModulePkg: Clean code to follow C Coding style. X-Git-Tag: edk2-stable201903~8517 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=b8b65a0320c7f8ec797171b335dfda2456528d57 MdeModulePkg: Clean code to follow C Coding style. Clean code to follow C Coding style. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18943 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c index 500b3c72b3..49fa80ba8c 100644 --- a/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c +++ b/MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c @@ -189,7 +189,7 @@ NetHttpParseAuthorityChar ( *IsRightBracket = TRUE; } - if (Char == ':' && *IsRightBracket == TRUE) { + if (Char == ':' && *IsRightBracket) { return UrlParserPortStart; } return UrlParserHostIpv6;