diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/device_enumerator_udev.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcamera/device_enumerator_udev.cpp b/src/libcamera/device_enumerator_udev.cpp index f5a482e3..87638c59 100644 --- a/src/libcamera/device_enumerator_udev.cpp +++ b/src/libcamera/device_enumerator_udev.cpp @@ -90,8 +90,7 @@ int DeviceEnumeratorUdev::addUdevDevice(struct udev_device *dev) return ret; } - if (!ret) - addDevice(media); + addDevice(media); return 0; } |