From 67d6f15776530f0ed33646b8c5ce3f2e3753a3a6 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 11 May 2020 20:02:30 +0300 Subject: [PATCH] lint fix --- src/device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/device.c b/src/device.c index 4765f01..05eac48 100644 --- a/src/device.c +++ b/src/device.c @@ -257,9 +257,9 @@ int device_select(struct device_t *dev, bool *has_read, bool *has_write, bool *h *has_write = FD_ISSET(dev->run->fd, &write_fds); *has_error = FD_ISSET(dev->run->fd, &error_fds); } else { - has_read = false; - has_write = false; - has_error = false; + *has_read = false; + *has_write = false; + *has_error = false; } LOG_DEBUG("Device select() --> %d", retval);