From: Ian Abbott Date: Wed, 21 Jun 2006 16:28:36 +0000 (+0000) Subject: Fixed gcc-4.1 warnings (operation may be undefined). X-Git-Tag: r0_7_71~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=667fd23024d03b8769453237e790e04103d797e6;p=comedi.git Fixed gcc-4.1 warnings (operation may be undefined). --- diff --git a/comedi/drivers/ni_at_a2150.c b/comedi/drivers/ni_at_a2150.c index cf421d55..95e12c15 100644 --- a/comedi/drivers/ni_at_a2150.c +++ b/comedi/drivers/ni_at_a2150.c @@ -849,7 +849,7 @@ static int a2150_get_timing(comedi_device *dev, unsigned int *period, int flags) *period = lub; // we can multiply period by 1, 2, 4, or 8, using (1 << i) - for(i = 0; i < 4; i = i++) + for(i = 0; i < 4; i++) { // there are a maximum of 4 master clocks for(j = 0; j < thisboard->num_clocks; j++)