platforms: initialize strings

This might fix a warning about argv being a TAINTED_SCALAR further down.
This commit is contained in:
Julian Oes 2019-10-01 13:46:00 +02:00 committed by Daniel Agar
parent cf8f03f190
commit 8e625285fc
1 changed files with 3 additions and 3 deletions

View File

@ -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;