Using zero-initialization in phy default_args to avoid compiler warnings.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent a8fe44252e
commit 5dd76479a0

@ -44,9 +44,9 @@ namespace srsue {
phy::phy() : workers_pool(MAX_WORKERS), workers(0), common(MAX_WORKERS) phy::phy() : workers_pool(MAX_WORKERS), workers(0), common(MAX_WORKERS)
{ {
ZERO_OBJECT(tdd_config); tdd_config = {};
ZERO_OBJECT(prach_cfg); prach_cfg = {};
ZERO_OBJECT(default_args); default_args = {};
ZERO_OBJECT(scell_earfcn); ZERO_OBJECT(scell_earfcn);
n_ta = 0; n_ta = 0;
} }

Loading…
Cancel
Save