init async->events to zero
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 6 Sep 2003 16:31:19 +0000 (16:31 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 6 Sep 2003 16:31:19 +0000 (16:31 +0000)
comedi/kcomedilib/kcomedilib_main.c

index f899dc5927d29caf14e679261dc715455fa995f3..6678b2aade12648f04e6ef07209f70921121c508 100644 (file)
@@ -128,6 +128,7 @@ static void init_async_buf( comedi_async *async )
        async->cur_chan = 0;
        async->scan_progress = 0;
        async->munge_chan = 0;
+       async->events = 0;
 }
 
 int comedi_command(comedi_t *d,comedi_cmd *cmd)