diff --git a/source/cmd.cpp b/source/cmd.cpp index 540ee7d..44d1baa 100644 --- a/source/cmd.cpp +++ b/source/cmd.cpp @@ -441,8 +441,7 @@ int cmd_process_command(int argc, char* argv[]) { } SMDH smdh; - memset(&smdh, 0, sizeof(SMDH)); - + std::vector regions = cmd_parse_list(cmd_find_arg(args, "r", "regions", "regionfree")); for(std::vector::iterator it = regions.begin(); it != regions.end(); it++) { const std::string region = *it; @@ -536,4 +535,4 @@ int cmd_process_command(int argc, char* argv[]) { cmd_invalid_command(command); return -1; } -} \ No newline at end of file +}