projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2748f1
)
onewire plugin: Fix "Dead assignment" warning.
author
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000
(09:16 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 08:03:43 +0000
(10:03 +0200)
src/onewire.c
patch
|
blob
|
history
diff --git
a/src/onewire.c
b/src/onewire.c
index
1383fc5
..
51e6407
100644
(file)
--- a/
src/onewire.c
+++ b/
src/onewire.c
@@
-384,7
+384,6
@@
static int cow_read_values (const char *path, const char *name,
if (endptr == NULL)
{
ERROR ("onewire plugin: Buffer is not a number: %s", buffer);
- status = -1;
continue;
}
@@
-528,7
+527,6
@@
static int cow_simple_read (void)
if (endptr == NULL)
{
ERROR ("onewire plugin: Buffer is not a number: %s", buffer);
- status = -1;
continue;
}