mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-14 15:46:19 +00:00
General: Make use of nullptr where applicable
This commit is contained in:
@@ -102,7 +102,7 @@ class HIDDeviceUdev final : public IHIDDevice {
|
||||
}
|
||||
|
||||
/* Request that kernel disconnects existing driver */
|
||||
usbdevfs_ioctl disconnectReq = {0, USBDEVFS_DISCONNECT, NULL};
|
||||
usbdevfs_ioctl disconnectReq = {0, USBDEVFS_DISCONNECT, nullptr};
|
||||
ioctl(fd, USBDEVFS_IOCTL, &disconnectReq);
|
||||
|
||||
/* Return control to main thread */
|
||||
|
||||
Reference in New Issue
Block a user