param_cleared: don't record nested structs as BUF_CLEAR
commite764a506f9c2b2bf00d47db78a7f1fe2439f2292
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 27 Jun 2023 09:12:03 +0000 (27 12:12 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Tue, 27 Jun 2023 09:12:03 +0000 (27 12:12 +0300)
treed13580f9c7a11f9cc625806e1bed546ba12dce44
parentcd0b180c205f4aae539d6a29383591a41fb57a37
param_cleared: don't record nested structs as BUF_CLEAR

If the container struct is cleared there is no need to record that inner
structs are cleared.  That's just a waste of data.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
smatch_param_cleared.c