diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-16 15:04:12 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-16 15:04:12 -0700 |
commit | 60663d4af3ffb6f82e75a3a4bc73b8b8887a3353 (patch) | |
tree | f37a263d4899b2287aefef4aa39c50d0f825f1e6 /tools | |
parent | 952c08ff50c5f18b61e99262b93ba679d5f71cc7 (diff) | |
download | bluez-60663d4af3ffb6f82e75a3a4bc73b8b8887a3353.tar.gz |
hog-lib: Fix scan-build error
This fixes the following errors:
profiles/input/hog-lib.c:600:19: warning: Access to field 'handle'
results in a dereference of a null pointer (loaded from variable 'chr')
report->handle = chr->handle;
^~~~~~~~~~~
profiles/input/hog-lib.c:637:11: warning: Access to field 'value_handle'
results in a dereference of a null pointer (loaded from variable 'chr')
start = chr->value_handle + 1;
^~~~~~~~~~~~~~~~~
profiles/input/hog-lib.c:1240:11: warning: Access to field 'value_handle'
results in a dereference of a null pointer (loaded from variable 'chr')
start = chr->value_handle + 1;
^~~~~~~~~~~~~~~~~
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions