]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/DynamicCommand/HttpDynamicCommand/Http.c
ShellPkg/HttpDynamicCommand: Fix possible uninitialized use
[mirror_edk2.git] / ShellPkg / DynamicCommand / HttpDynamicCommand / Http.c
index 3735a4a7e6455ca2ebcb1dd58898425e48e93cd5..7b9b2d238015dd52a9abaa04ae25f03692e1284e 100644 (file)
@@ -1524,6 +1524,7 @@ GetResponse (
   Context->ResponseToken.Message = &ResponseMessage;\r
   Context->ContentLength = 0;\r
   Context->Status = REQ_OK;\r
+  Status = EFI_SUCCESS;\r
   MsgParser = NULL;\r
   ResponseData.StatusCode = HTTP_STATUS_UNSUPPORTED_STATUS;\r
   ResponseMessage.Data.Response = &ResponseData;\r