From ce713555caa7230dff2dfd926eac3ed722d4c4e9 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 14 Jun 2000 22:23:13 +0000 Subject: [PATCH] fix compile warning --- comedi/drivers/dt2801.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/comedi/drivers/dt2801.c b/comedi/drivers/dt2801.c index aca399e5..08bc8f4f 100644 --- a/comedi/drivers/dt2801.c +++ b/comedi/drivers/dt2801.c @@ -77,24 +77,30 @@ comedi_driver driver_dt2801={ detach: dt2801_detach, }; +#if 0 +// ignore 'defined but not used' warning static comedi_lrange range_dt2801_ai_pgh_bipolar={ 4, { RANGE( -10, 10 ), RANGE( -5, 5 ), RANGE( -2.5, 2.5 ), RANGE( -1.25, 1.25 ), }}; +#endif static comedi_lrange range_dt2801_ai_pgl_bipolar={ 4, { RANGE( -10, 10 ), RANGE( -1, 1 ), RANGE( -0.1, 0.1 ), RANGE( -0.02, 0.02 ), }}; +#if 0 +// ignore 'defined but not used' warning static comedi_lrange range_dt2801_ai_pgh_unipolar={ 4, { RANGE( 0, 10 ), RANGE( 0, 5 ), RANGE( 0, 2.5 ), RANGE( 0, 1.25 ), }}; +#endif static comedi_lrange range_dt2801_ai_pgl_unipolar={ 4, { RANGE( 0, 10 ), RANGE( 0, 1 ), -- 2.26.2