src: Remove dead assignments in batocomp
PATCH 1/1 src: Remove dead assignments in batocomp
The return values of udev_hwdb_unref() and udev_unref() are assigned to local variables that are never read again.
Remove the unnecessary assignments.
Found by scan-build.
--- src/oui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
src/oui.c +2 -2
@@ -47,10 +47,10 @@ char *batocomp(const bdaddr_t *ba) } } - hwdb =udev_hwdb_unref (hwdb); +udev_hwdb_unref (hwdb); done: - udev =udev_unref (udev); +udev_unref (udev);return comp; }
Signature · 1 line
2.53.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1114380
---Test result---
Test Summary:
CheckPatch PASS 0.87 seconds GitLint PASS 0.54 seconds BuildEll PASS 20.26 seconds BluezMake PASS 655.79 seconds CheckSmatch PASS 354.56 seconds bluezmakeextell PASS 182.62 seconds IncrementalBuild PASS 660.77 seconds ScanBuild PASS 1029.24 seconds
https://github.com/bluez/bluez/pull/2247
---
Regards,
Linux Bluetooth