mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
platforms: initialize strings
This might fix a warning about argv being a TAINTED_SCALAR further down.
This commit is contained in:
@@ -178,10 +178,10 @@ int main(int argc, char **argv)
|
||||
} else {
|
||||
/* Server/daemon apps need to parse the command line arguments. */
|
||||
|
||||
std::string data_path;
|
||||
std::string data_path{};
|
||||
std::string commands_file = "etc/init.d/rcS";
|
||||
std::string test_data_path;
|
||||
std::string working_directory;
|
||||
std::string test_data_path{};
|
||||
std::string working_directory{};
|
||||
int instance = 0;
|
||||
|
||||
int myoptind = 1;
|
||||
|
||||
Reference in New Issue
Block a user