diff options
author | Martin Braun <martin.braun@ettus.com> | 2015-09-02 16:02:33 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-09-08 09:24:15 -0700 |
commit | ac96c8c76eb461913af49419e87358260fa4651e (patch) | |
tree | 7cab9f1aaede7c5e634a338898c8bd31d8ea03a5 /host/tests | |
parent | a12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa (diff) | |
download | uhd-ac96c8c76eb461913af49419e87358260fa4651e.tar.gz uhd-ac96c8c76eb461913af49419e87358260fa4651e.tar.bz2 uhd-ac96c8c76eb461913af49419e87358260fa4651e.zip |
tests: Initialize test value to avoid bit width related issues
Diffstat (limited to 'host/tests')
-rw-r--r-- | host/tests/sensors_c_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/tests/sensors_c_test.c b/host/tests/sensors_c_test.c index 8babe905a..9a2da3315 100644 --- a/host/tests/sensors_c_test.c +++ b/host/tests/sensors_c_test.c @@ -116,6 +116,7 @@ int main(){ goto free_boolean_sensor; } + bool_out = false; // Check the casted value UHD_TEST_EXECUTE_OR_GOTO(free_boolean_sensor, uhd_sensor_value_to_bool( |