summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88a41cc)
raw | patch | inline | side by side (parent: 88a41cc)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 14:45:23 +0000 (16:45 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 14:45:23 +0000 (16:45 +0200) |
src/modbus.c | patch | blob | history |
diff --git a/src/modbus.c b/src/modbus.c
index 25aa7e2e5f80b614f9cc49a4b51106051827b5bf..f18b0afb0d373ad911b6726052d7fb97a8ed0c0e 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);