diff options
author | Mike <mjc@avtechpulse.com> | 2000-01-01 00:36:37 +0900 |
---|---|---|
committer | Mike <mjc@avtechpulse.com> | 2000-01-01 00:36:37 +0900 |
commit | 95341527744504329d0f917fa1b7e30765ff1719 (patch) | |
tree | 30d0b5a8cdf69037a784083dc38834137cac582a | |
parent | f4aec9a5ea2e8cf5181b7631adc7c1d05088aa30 (diff) |
Fix crashes caused by uninitialized pointer
-rw-r--r-- | device-functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |