]> sigrok.org Git - libsigrok.git/commitdiff
Fix some compiler warnings.
authorUwe Hermann <redacted>
Thu, 27 Jan 2011 22:17:47 +0000 (23:17 +0100)
committerUwe Hermann <redacted>
Thu, 27 Jan 2011 22:17:47 +0000 (23:17 +0100)
output/output_gnuplot.c

index f7027626a2e4736a598af172fc9ab1966a8e4242..05da1e1aa9fc36e8666d5a7f5782db02880a5e14 100644 (file)
@@ -270,7 +270,7 @@ static int analog_data(struct output *o, char *data_in, uint64_t length_in,
                char **data_out, uint64_t *length_out)
 {
        struct context *ctx;
-       unsigned int max_linelen, outsize, p, curbit, i;
+       unsigned int max_linelen, outsize, p, /* curbit, */ i;
 //     uint64_t sample;
        static uint64_t samplecount = 0;
        char *outbuf, *c;