X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fonewire.c;h=51e6407137b0f2c8bc64598f822cac804c5a9fab;hb=add25ce6f3129cb7138e96e5f55d11de1e5cf6de;hp=1383fc5803451437e6009b801ecbc0c6c16c798c;hpb=9679723b9f177055ef93d0b1bbb420cca7ac6ea4;p=collectd.git diff --git a/src/onewire.c b/src/onewire.c index 1383fc58..51e64071 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; }