X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fgnuplot.c;h=c150a2fb4eba514223ce24343807ec032df4bc83;hb=2285cf9bc519edb88eccbe3bf2ddd6888e54cdf2;hp=ecbc027b05a38194e08d54d426bda5a6e76db10e;hpb=5097b0d0912165429aceddb5febbf68467b623f5;p=libsigrok.git diff --git a/output/gnuplot.c b/output/gnuplot.c index ecbc027b..c150a2fb 100644 --- a/output/gnuplot.c +++ b/output/gnuplot.c @@ -148,8 +148,6 @@ static int init(struct sr_output *o) static int event(struct sr_output *o, int event_type, char **data_out, uint64_t *length_out) { - struct context *ctx; - if (!o) { sr_err("gnuplot out: %s: o was NULL", __func__); return SR_ERR_ARG; @@ -165,8 +163,6 @@ static int event(struct sr_output *o, int event_type, char **data_out, return SR_ERR_ARG; } - ctx = o->internal; - switch (event_type) { case SR_DF_TRIGGER: /* TODO: Can a trigger mark be in a gnuplot data file? */