coccicnelle: Ignore return of memset
The return of memset is never checked. This patch explicitly ignore the return to avoid MISRA-C violations. The only directory excluded directory was ext/* since it contains only imported code. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
5884c7f54b
commit
da49f2e440
220 changed files with 577 additions and 550 deletions
|
@ -462,7 +462,7 @@ int http_parse_host(const char *buf, struct http_parser_url *u,
|
|||
void
|
||||
http_parser_url_init(struct http_parser_url *u)
|
||||
{
|
||||
memset(u, 0, sizeof(*u));
|
||||
(void)memset(u, 0, sizeof(*u));
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue