File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void Geofence::run()
104
104
_initiate_fence_updated = false ;
105
105
_dataman_state = DatamanState::Read;
106
106
107
- geofence_status_s status;
107
+ geofence_status_s status{} ;
108
108
status.timestamp = hrt_absolute_time ();
109
109
status.geofence_id = _opaque_id;
110
110
status.status = geofence_status_s::GF_STATUS_LOADING;
@@ -159,7 +159,7 @@ void Geofence::run()
159
159
_dataman_state = DatamanState::UpdateRequestWait;
160
160
_fence_updated = true ;
161
161
162
- geofence_status_s status;
162
+ geofence_status_s status{} ;
163
163
status.timestamp = hrt_absolute_time ();
164
164
status.geofence_id = _opaque_id;
165
165
status.status = geofence_status_s::GF_STATUS_READY;
@@ -179,7 +179,7 @@ void Geofence::run()
179
179
_updateFence ();
180
180
_fence_updated = true ;
181
181
182
- geofence_status_s status;
182
+ geofence_status_s status{} ;
183
183
status.timestamp = hrt_absolute_time ();
184
184
status.geofence_id = _opaque_id;
185
185
status.status = geofence_status_s::GF_STATUS_READY;
You can’t perform that action at this time.
0 commit comments