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-02 16:02:33 -0700 |
commit | 1e9ac85fed2cd551183aafa3a907221b4707daa1 (patch) | |
tree | 61abceada0ab4a239daeffecd6ed56c588b7d15d /host/tests | |
parent | 01b2a2b5b234e56005a507fe343360dbfd0fc129 (diff) | |
download | uhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.tar.gz uhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.tar.bz2 uhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.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( |