diff options
author | Thomas Haller <thaller@redhat.com> | 2019-08-02 17:16:00 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-08-02 18:10:58 +0200 |
commit | 526601e4f328837fdccb7447ceac0243616d5e2c (patch) | |
tree | 95ade97ae4ea231f8d70feb4e2c945d2eccf418d | |
parent | 643bc4ca2275ed00ed6607d2b308f65d531675b8 (diff) | |
download | NetworkManager-526601e4f328837fdccb7447ceac0243616d5e2c.tar.gz |
device/bluetooth: explicitly ignore return value of ioctl() in nm_bluez5_dun_cleanup()
Coverity doesn't like us not checking the result.
-rw-r--r-- | src/devices/bluetooth/nm-bluez5-dun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-dun.c b/src/devices/bluetooth/nm-bluez5-dun.c index 04859f9ac7..b9a1fa0ab8 100644 --- a/src/devices/bluetooth/nm-bluez5-dun.c +++ b/src/devices/bluetooth/nm-bluez5-dun.c @@ -386,7 +386,7 @@ nm_bluez5_dun_cleanup (NMBluez5DunContext *context) struct rfcomm_dev_req req = { 0 }; req.dev_id = context->rfcomm_id; - ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req); + (void) ioctl (context->rfcomm_fd, RFCOMMRELEASEDEV, &req); context->rfcomm_id = -1; } nm_close (context->rfcomm_fd); |