From: David Schleef Date: Tue, 7 Nov 2000 20:46:15 +0000 (+0000) Subject: fix warning X-Git-Tag: r0_7_51~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e0b641bee8aea84d22e65148c0ce0ebfc3ed0a07;p=comedi.git fix warning --- diff --git a/comedi/drivers.c b/comedi/drivers.c index a7835e86..67d102c1 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -45,6 +45,7 @@ static int insn_emulate_bits(comedi_device *dev,comedi_subdevice *s, comedi_insn *insn,lsampl_t *data); static int insn_inval(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn,lsampl_t *data); static int mode0_emulate(comedi_device *dev,comedi_subdevice *s,comedi_trig *trig); +static int mode0_emulate_config(comedi_device *dev,comedi_subdevice *s,comedi_trig *trig); comedi_driver *comedi_drivers; @@ -467,7 +468,6 @@ static int mode0_emulate_config(comedi_device *dev,comedi_subdevice *s,comedi_tr { comedi_insn insn; lsampl_t ldata; - int ret; insn.subdev=trig->subdev; insn.data=&ldata;