From fe3ed442ad6f9dfc583c91ab97f912f9ca44aee3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 09:16:18 +0200 Subject: [PATCH] onewire plugin: Fix "Dead assignment" warning. --- src/onewire.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.11.0