]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/IfConfig6/IfConfig6.c
Refine code to make it more safely.
[mirror_edk2.git] / NetworkPkg / Application / IfConfig6 / IfConfig6.c
index a2a35822774e4e4e8bbea960a397165e5e18ccfb..36cc7499338ba5ba906d82775408ad3f44de7836 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The implementation for Shell application IfConfig6.\r
 \r
-  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -365,6 +365,7 @@ IfConfig6ParseManualAddressList (
   UINT8                            Prefix;\r
   UINT8                            AddrCnt;\r
 \r
+  Prefix   = 0;\r
   AddrCnt  = 0;\r
   *BufSize = 0;\r
   *Buf     = NULL;\r