Parent: 952c08ff50c5f18b61e99262b93ba679d5f71cc7
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-08-17 01:04:12
Tree: f37a263d4899b2287aefef4aa39c50d0f825f1e6
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
| M | profiles/input/hog-lib.c | | | 9 | +++++++++ |
1 files changed, 9 insertions(+), 0 deletions(-)