From: Florian Forster Date: Thu, 18 Jun 2015 08:25:41 +0000 (+0200) Subject: onewire plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c72d71058b05d315290b17cc7b8a584a435a7c50;p=collectd.git onewire plugin: Fix "Dead assignment" warning. --- diff --git a/src/onewire.c b/src/onewire.c index 09a6bf09..0266e9b7 100644 --- a/src/onewire.c +++ b/src/onewire.c @@ -171,7 +171,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; }