mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-09 23:34:41 +01:00
Fix cppcheck errors
This commit is contained in:
parent
e8a2d63566
commit
d62457bb11
1 changed files with 3 additions and 3 deletions
|
|
@ -377,8 +377,8 @@ static void http_success_cr(void)
|
|||
/* Flawfinder: ignore */
|
||||
FILE *pp = popen("ubus call tr069 inform", "r");
|
||||
if (pp) {
|
||||
pclose(pp);
|
||||
rc = WEXITSTATUS(pp);
|
||||
int status = pclose(pp);
|
||||
rc = WEXITSTATUS(status);
|
||||
}
|
||||
retry = retry + 1;
|
||||
}
|
||||
|
|
@ -689,7 +689,7 @@ void icwmp_http_server_init(void)
|
|||
cr_port_str[5] = '\0';
|
||||
set_uci_path_value(NULL, "cwmp.cpe.port", cr_port_str);
|
||||
/* Flawfinder: ignore */
|
||||
FILE *pp = popen(FIREWALL_CWMP, 'r');
|
||||
FILE *pp = popen(FIREWALL_CWMP, "r");
|
||||
if (pp) {
|
||||
pclose(pp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue