summaryrefslogtreecommitdiffhomepage
path: root/proto-ft/ftnoir_protocol_ft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 389e12b2..bf99a94f 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -31,7 +31,7 @@ cc_noinline void store(float volatile& place, const float value)
{
float f32;
LONG i32;
- } value_;
+ } value_ {};
value_.f32 = value;
@@ -84,7 +84,7 @@ void freetrack::pose(const double* headpose)
union {
unsigned char table[8];
std::int32_t ints[2];
- } t;
+ } t {};
t.ints[0] = 0; t.ints[1] = 0;