Remove redundant initialization in clients
the `memset(&cfg, 0, sizeof(struct mosq_config));` already exsits in
`client_config_load()`'s `init_config()` function call.
So calling it in main function is totally unnecessary.
Signed-off-by:
YangHau <vulxj0j8j8@gmail.com>
parent
2b2afc93
Please register or sign in to comment