From 5f854d339e0e7215b61afb6b3744111f66623f34 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 19 Nov 2009 11:30:05 +0000 Subject: [PATCH] adl_pci9118: In pci9118_ai_cmdtest(), initialize divisor1 and divisor2 values, passed by reference to i8253_cascade_ns_to_timer(). --- comedi/drivers/adl_pci9118.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/adl_pci9118.c b/comedi/drivers/adl_pci9118.c index cf0cfe8a..9a355511 100644 --- a/comedi/drivers/adl_pci9118.c +++ b/comedi/drivers/adl_pci9118.c @@ -754,7 +754,7 @@ static int pci9118_ai_cmdtest(comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) { int err = 0; - int tmp, divisor1, divisor2; + int tmp, divisor1 = 0, divisor2 = 0; /* step 1: make sure trigger sources are trivially valid */ -- 2.26.2