diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2015-07-10 06:50:41 +0000 |
---|---|---|
committer | luobozhang <luobozhang@Edk2> | 2015-07-10 06:50:41 +0000 |
commit | 7c6c4ac801f0797ce6d6256ee446fc11f8a7e053 (patch) | |
tree | 2e1a1a2a41e462dbecc314377fe63137697d1f5a /NetworkPkg/Application | |
parent | c6910aeda330c9d1b6b1153da430f946c575b4f5 (diff) | |
download | edk2-7c6c4ac801f0797ce6d6256ee446fc11f8a7e053.zip edk2-7c6c4ac801f0797ce6d6256ee446fc11f8a7e053.tar.gz edk2-7c6c4ac801f0797ce6d6256ee446fc11f8a7e053.tar.bz2 |
NetworkPkg: Fix an error that return type differs from the left one when assigned.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: jiaxinwu <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17921 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/Application')
-rw-r--r-- | NetworkPkg/Application/IfConfig6/IfConfig6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Application/IfConfig6/IfConfig6.c b/NetworkPkg/Application/IfConfig6/IfConfig6.c index 4cec44f..8d464b8 100644 --- a/NetworkPkg/Application/IfConfig6/IfConfig6.c +++ b/NetworkPkg/Application/IfConfig6/IfConfig6.c @@ -127,7 +127,7 @@ SplitStrToList ( ARG_LIST *ArgList;
ARG_LIST *ArgNode;
- if (*String == L'\0' || *String == NULL) {
+ if (String == NULL || *String == L'\0') {
return NULL;
}
|