From 45ffa77059e142b62da266bd164b532c1f2718de Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 摹曛, 26 11月 2015 05:39:09 +0800
Subject: [PATCH] Add test for ResultArrayDouble and Float

---
 libscpi/src/units.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libscpi/src/units.c b/libscpi/src/units.c
index 28a75cc..f59fe86 100644
--- a/libscpi/src/units.c
+++ b/libscpi/src/units.c
@@ -283,7 +283,7 @@
             scpiLex_CharacterProgramData(&state, &token);
 
             /* convert string to special number type */
-            SCPI_ParamToChoice(context, &token, special, &tag);
+            result = SCPI_ParamToChoice(context, &token, special, &tag);
 
             value->special = TRUE;
             value->tag = tag;

--
Gitblit v1.9.1