mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-10 01:34:58 +03:00
resolved several cppcheck findings:
[src/Cedar/Admin.c:418]: (error) Possible null pointer dereference: cedar [src/Cedar/Admin.c:616]: (error) Possible null pointer dereference: cedar [src/Cedar/WebUI.c:369]: (error) Uninitialized variable: retcode [src/Mayaqua/Encrypt.c:4485]: (error) Uninitialized variable: key [src/Mayaqua/Network.c:13548]: (error) Uninitialized variable: e
This commit is contained in:
@ -326,7 +326,7 @@ static wchar_t *WpListener(WEBUI *wu, LIST *params)
|
||||
WU_CONTEXT *context = WuGetContext(wu->Contexts, sessionkey);
|
||||
char *cmd = (char*)StrMapSearch(params, "CMD");
|
||||
RPC_LISTENER t;
|
||||
UINT retcode;
|
||||
UINT retcode = ERR_NO_ERROR;
|
||||
|
||||
if(context == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user