projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collectd.spec: add gps plugin
[collectd.git]
/
src
/
onewire.c
diff --git
a/src/onewire.c
b/src/onewire.c
index
f103086
..
235eff8
100644
(file)
--- a/
src/onewire.c
+++ b/
src/onewire.c
@@
-339,7
+339,6
@@
static int cow_read_values (const char *path, const char *name,
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
int success = 0;
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
int success = 0;
- size_t i;
if (sensor_list != NULL)
{
if (sensor_list != NULL)
{
@@
-355,7
+354,7
@@
static int cow_read_values (const char *path, const char *name,
sstrncpy (vl.plugin, "onewire", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, name, sizeof (vl.plugin_instance));
sstrncpy (vl.plugin, "onewire", sizeof (vl.plugin));
sstrncpy (vl.plugin_instance, name, sizeof (vl.plugin_instance));
- for (i = 0; i < family_info->features_num; i++)
+ for (
size_t
i = 0; i < family_info->features_num; i++)
{
char *buffer;
size_t buffer_size;
{
char *buffer;
size_t buffer_size;