From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: onewire plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~102 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fe3ed442ad6f9dfc583c91ab97f912f9ca44aee3;p=collectd.git onewire plugin: Fix "Dead assignment" warning. --- 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; }