commit | 7f92f75e88b66ba73db5a676c35c704e213dcd70 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Wed Jun 22 11:16:18 2022 -0700 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Wed Jun 22 11:16:18 2022 -0700 |
tree | c3ab582ad9990eb507b08bea4799db48235c936e | |
parent | 33c96ca658fd7a0d358dd714decf465ff17ee043 [diff] |
client/advertising: Fixes errors found by scan-build This fixes the following errors: client/advertising.c:129:4: warning: Value stored to 'n' is never read [deadcode.DeadStores] n = sizeof(str) - 1; ^ ~~~~~~~~~~~~~~~ client/advertising.c:1012:25: warning: Dereference of null pointer (loaded from variable 'min') [core.NullDereference] if (ad.min_interval != *min) { ^~~~