aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-09-02 16:02:33 -0700
committerMartin Braun <martin.braun@ettus.com>2015-09-02 16:02:33 -0700
commit1e9ac85fed2cd551183aafa3a907221b4707daa1 (patch)
tree61abceada0ab4a239daeffecd6ed56c588b7d15d
parent01b2a2b5b234e56005a507fe343360dbfd0fc129 (diff)
downloaduhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.tar.gz
uhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.tar.bz2
uhd-1e9ac85fed2cd551183aafa3a907221b4707daa1.zip
tests: Initialize test value to avoid bit width related issues
-rw-r--r--host/tests/sensors_c_test.c1
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(