Commit 9bb9b6e7 authored by YangHau's avatar YangHau
Browse files

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: default avatarYangHau <vulxj0j8j8@gmail.com>
parent 2b2afc93
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment