X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fonewire.c;h=58c35e1eb83be009b342fbfbb7af8f2a7642cb2b;hb=ac077f078300f47d5a6b75aaeeb0999799309283;hp=6cfea0ec1e7cc38c520cbb7f2ccebb5bb49b9437;hpb=77243847767b4bc2ea6600a5f88ef45f2a8ec713;p=collectd.git diff --git a/src/onewire.c b/src/onewire.c index 6cfea0ec..58c35e1e 100644 --- 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; }