Fix Branch condition evaluates to a garbage value found by Clang Analyzer
--- src/ac/ac_backend.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
This commit is contained in:
parent
63189997df
commit
28112ee228
@ -319,7 +319,7 @@ static int ac_backend_parsing_deletewlan_event(const char* idevent, struct json_
|
||||
static int ac_backend_soap_update_event(const char* idevent, int status) {
|
||||
int result = 0;
|
||||
char buffer[256];
|
||||
struct ac_soap_request* request;
|
||||
struct ac_soap_request* request = NULL;
|
||||
struct ac_http_soap_server* server;
|
||||
|
||||
ASSERT(g_ac_backend.soaprequest == NULL);
|
||||
@ -376,7 +376,7 @@ static int ac_backend_soap_update_event(const char* idevent, int status) {
|
||||
/* */
|
||||
static int ac_backend_soap_getconfiguration(void) {
|
||||
int result = -1;
|
||||
struct ac_soap_request* request;
|
||||
struct ac_soap_request* request = NULL;
|
||||
struct ac_http_soap_server* server;
|
||||
struct json_object* jsonroot = NULL;
|
||||
|
||||
@ -441,7 +441,7 @@ static int ac_backend_soap_getconfiguration(void) {
|
||||
|
||||
/* */
|
||||
static int ac_backend_soap_join(int forcereset) {
|
||||
struct ac_soap_request* request;
|
||||
struct ac_soap_request* request = NULL;
|
||||
struct ac_http_soap_server* server;
|
||||
|
||||
ASSERT(g_ac_backend.soaprequest == NULL);
|
||||
@ -570,7 +570,7 @@ static int ac_backend_parsing_event(struct json_object* jsonitem) {
|
||||
/* */
|
||||
static int ac_backend_soap_waitevent(void) {
|
||||
int result = -1;
|
||||
struct ac_soap_request* request;
|
||||
struct ac_soap_request* request = NULL;
|
||||
struct ac_http_soap_server* server;
|
||||
struct json_object* jsonroot = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user