summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ebd643d)
raw | patch | inline | side by side (parent: ebd643d)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 14:45:23 +0000 (16:45 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Thu, 14 Jan 2016 10:03:06 +0000 (11:03 +0100) |
src/modbus.c | patch | blob | history |
diff --git a/src/modbus.c b/src/modbus.c
index 2cef4aa273e6a166bee9f975b8d4b694f34b2dab..b5d1e251960534be10793aeb7c44000d16acb225 100644 (file)
--- a/src/modbus.c
+++ b/src/modbus.c
uint16_t values[2];
int values_num;
const data_set_t *ds;
- int status;
+ int status = 0;
if ((host == NULL) || (slave == NULL) || (data == NULL))
return (EINVAL);