X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Fcsv.c;h=0bec7ae281c4286825eb54f586828bdc2f683f10;hb=dba3e6826e3d37309ed49dd77cde346b369bc5a9;hp=8e012212969caeeb7f348945783ac85865110926;hpb=7e7b7fb7d323f7600958bf29025ca089a15829e3;p=libsigrok.git diff --git a/output/csv.c b/output/csv.c index 8e012212..0bec7ae2 100644 --- a/output/csv.c +++ b/output/csv.c @@ -117,8 +117,8 @@ static int init(struct sr_output *o) return SR_OK; } -static int receive(struct sr_output *o, const struct sr_dev_inst *sdi, - const struct sr_datafeed_packet *packet, GString **out) +static int receive(struct sr_output *o, const struct sr_datafeed_packet *packet, + GString **out) { const struct sr_datafeed_logic *logic; struct context *ctx; @@ -126,8 +126,6 @@ static int receive(struct sr_output *o, const struct sr_dev_inst *sdi, uint64_t i, j; gchar *p, c; - (void)sdi; - *out = NULL; if (!o || !o->sdi) return SR_ERR_ARG;