mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 17:49:52 +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; \
|
||||
}
|
||||
#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; \
|
||||
if (IsEmptyStr(t->HubName)) \
|
||||
return ERR_INVALID_PARAMETER;
|
||||
|
Loading…
Reference in New Issue
Block a user