X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fonewire.c;h=58c35e1eb83be009b342fbfbb7af8f2a7642cb2b;hb=73de67494a4f5d9a698f2a5ab93f85e19bccb90a;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; }