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-08 09:24:15 -0700
commitac96c8c76eb461913af49419e87358260fa4651e (patch)
tree7cab9f1aaede7c5e634a338898c8bd31d8ea03a5
parenta12a94d0fd4290d3c1f5ed144e3d125fb4fdebfa (diff)
downloaduhd-ac96c8c76eb461913af49419e87358260fa4651e.tar.gz
uhd-ac96c8c76eb461913af49419e87358260fa4651e.tar.bz2
uhd-ac96c8c76eb461913af49419e87358260fa4651e.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(