forked from Archive/PX4-Autopilot
platforms: initialize strings
This might fix a warning about argv being a TAINTED_SCALAR further down.
This commit is contained in:
parent
cf8f03f190
commit
8e625285fc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue