]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/IfConfig6/IfConfig6.c
NetworkPkg: Fix an error that return type differs from the left one when assigned.
[mirror_edk2.git] / NetworkPkg / Application / IfConfig6 / IfConfig6.c
index 4cec44f8d5e91ecf6428d731e1a18db46d88daa8..8d464b8e616be5cbdb22c9858315186bc564fefc 100644 (file)
@@ -127,7 +127,7 @@ SplitStrToList (
   ARG_LIST    *ArgList;\r
   ARG_LIST    *ArgNode;\r
 \r
-  if (*String == L'\0' || *String == NULL) {\r
+  if (String == NULL || *String == L'\0') {\r
     return NULL;\r
   }\r
 \r