2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Quiet some clang 10 analyzer warnings.

This commit is contained in:
Todd C. Miller
2020-08-07 14:22:56 -06:00
parent 63dadad9df
commit fa5d44b8b5
8 changed files with 46 additions and 38 deletions

View File

@@ -786,7 +786,7 @@ send_mail(const char *fmt, ...)
break;
case 0:
/* Child. */
switch (pid = fork()) {
switch (fork()) {
case -1:
/* Error. */
mysyslog(LOG_ERR, _("unable to fork: %m"));