From 95341527744504329d0f917fa1b7e30765ff1719 Mon Sep 17 00:00:00 2001
From: Mike <mjc@avtechpulse.com>
Date: Sat, 1 Jan 2000 00:36:37 +0900
Subject: Fix crashes caused by uninitialized pointer

---
 device-functions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/device-functions.c b/device-functions.c
index c864791..2158a1c 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -2774,6 +2774,7 @@ int Set_VI_Control(int parameter,int channel,float new_ampl)
 	decreasing_values_allowed=NO;
 	min_os_in_range=max_os_in_range=0.0;
 	min_ampl_in_range=max_ampl_in_range=0.0;
+	pwl_dacval_aux = 0;
 
 	switch (parameter) {
 	case pwl_ampl_values:
-- 
cgit