]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.c
MdeModulePkg: Refine the code for DxeHttpLib
[mirror_edk2.git] / MdeModulePkg / Library / DxeHttpLib / DxeHttpLib.c
index 46f035ab39fbd6e197dc0d3e6c1c2457776efa45..727cc428f480e815801f587d47742c2ed24080d0 100644 (file)
@@ -1673,11 +1673,13 @@ HttpGenRequestMessage (
 \r
   ASSERT (Message != NULL);\r
 \r
-  *RequestMsg = NULL;\r
-  MsgSize = 0;\r
-  Success = FALSE;\r
-  HttpHdr = NULL;\r
-  AppendList = NULL;\r
+  *RequestMsg           = NULL;\r
+  Status                = EFI_SUCCESS;\r
+  HttpHdrSize           = 0;\r
+  MsgSize               = 0;\r
+  Success               = FALSE;\r
+  HttpHdr               = NULL;\r
+  AppendList            = NULL;\r
   HttpUtilitiesProtocol = NULL;\r
 \r
   //\r