mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:23:34 +08:00
Replace a lot of memset with {} initializers
This commit is contained in:
committed by
Daniel Agar
parent
b8f70e865c
commit
e843090383
@@ -156,11 +156,9 @@ extern "C" __EXPORT int vmount_main(int argc, char *argv[]);
|
||||
static int vmount_thread_main(int argc, char *argv[])
|
||||
{
|
||||
ParameterHandles param_handles;
|
||||
Parameters params;
|
||||
Parameters params {};
|
||||
OutputConfig output_config;
|
||||
ThreadData thread_data;
|
||||
memset(¶ms, 0, sizeof(params));
|
||||
|
||||
|
||||
InputTest *test_input = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user