Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[iioadaptor] Zero initialize udev device pointer. MER#1749
Compiler warns about using potentially uninitialized dev-pointer at udev_device_unref(). Initialize the pointer to NULL value, and verify it has non-zero value before calling unref. Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
- Loading branch information