Cosmetics: fixed static analysis issues.

This commit is contained in:
Felipe Zimmerle
2020-01-15 20:35:59 -03:00
parent 1fc5847919
commit 86a5f471a9
21 changed files with 54 additions and 40 deletions

View File

@@ -71,7 +71,7 @@ int main(int argc, char **argv) {
}
if (argFull.empty() == false) {
arg = argFull.c_str();
arg = strdup(argFull.c_str());
argFull.clear();
}