mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #610: src/Cedar/Admin.c: remove unused condition, make coverity scan cleaner
This commit is contained in:
commit
4cbdcb6b20
@ -188,7 +188,7 @@
|
|||||||
return err; \
|
return err; \
|
||||||
}
|
}
|
||||||
#define CHECK_RIGHT \
|
#define CHECK_RIGHT \
|
||||||
if (a->ServerAdmin == false && (t->HubName == NULL || StrCmpi(a->HubName, t->HubName) != 0)) \
|
if (a->ServerAdmin == false && (StrCmpi(a->HubName, t->HubName) != 0)) \
|
||||||
return ERR_NOT_ENOUGH_RIGHT; \
|
return ERR_NOT_ENOUGH_RIGHT; \
|
||||||
if (IsEmptyStr(t->HubName)) \
|
if (IsEmptyStr(t->HubName)) \
|
||||||
return ERR_INVALID_PARAMETER;
|
return ERR_INVALID_PARAMETER;
|
||||||
|
Loading…
Reference in New Issue
Block a user