Code

openvpn plugin: Fix "Dead assignment" warning.
authorFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000 (09:16 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 Jun 2015 08:23:54 +0000 (10:23 +0200)
src/openvpn.c

index 2c93a00977a7fdbe72162187381391d2fc02b831..cf8c2123e9a249fb47481c88bd25d0139fdea167 100644 (file)
@@ -187,8 +187,6 @@ static int single_read (char *name, FILE *fh)
        post_compress = 0;
        pre_decompress = 0;
        post_decompress = 0;
-       overhead_rx = 0;
-       overhead_tx = 0;
 
        while (fgets (buffer, sizeof (buffer), fh) != NULL)
        {