Make sudo pass -Wwrite-strings

This commit is contained in:
Todd C. Miller
2022-06-28 16:33:15 -06:00
parent b3a8cad346
commit 13672f28df
77 changed files with 590 additions and 640 deletions

View File

@@ -74,7 +74,7 @@ expand_tilde(char **path, const char *user)
*slash = '\0';
opath = slash + 1;
} else {
opath = "";
opath = (char *)"";
}
}
pw = sudo_getpwnam(user);