From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: ted plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9836983851cce4c300115df5223a4cb5cb527f98;p=collectd.git ted plugin: Fix "Dead assignment" warning. --- diff --git a/src/ted.c b/src/ted.c index bf519bbe..5dd75bc9 100644 --- a/src/ted.c +++ b/src/ted.c @@ -104,7 +104,6 @@ static int ted_read_value(double *ret_power, double *ret_voltage) /* Loop until we find the end of the package */ end_flag = 0; - escape_flag = 0; package_buffer_pos = 0; while (end_flag == 0) {