Fix up indentation.

This commit is contained in:
Todd C. Miller
2023-07-01 16:03:33 -06:00
parent 575e4ab2fe
commit 04c7e910ef
7 changed files with 8 additions and 8 deletions

View File

@@ -406,7 +406,7 @@ send_mail(const struct eventlog *evlog, const char *message)
strerror(errno)); strerror(errno));
sudo_debug_exit(__func__, __FILE__, __LINE__, sudo_debug_subsys); sudo_debug_exit(__func__, __FILE__, __LINE__, sudo_debug_subsys);
_exit(EXIT_FAILURE); _exit(EXIT_FAILURE);
/* NOTREACHED */ /* NOTREACHED */
case 0: case 0:
/* Grandchild continues below. */ /* Grandchild continues below. */
sudo_debug_enter(__func__, __FILE__, __LINE__, sudo_debug_subsys); sudo_debug_enter(__func__, __FILE__, __LINE__, sudo_debug_subsys);
@@ -414,7 +414,7 @@ send_mail(const struct eventlog *evlog, const char *message)
default: default:
/* Parent will wait for us. */ /* Parent will wait for us. */
_exit(EXIT_SUCCESS); _exit(EXIT_SUCCESS);
/* NOTREACHED */ /* NOTREACHED */
} }
break; break;
default: default:

View File

@@ -100,7 +100,7 @@ main(int argc, char *argv[])
break; break;
default: default:
usage(); usage();
/* NOTREACHED */ /* NOTREACHED */
} }
} }
argc -= optind; argc -= optind;

View File

@@ -99,7 +99,7 @@ main(int argc, char *argv[])
break; break;
default: default:
usage(); usage();
/* NOTREACHED */ /* NOTREACHED */
} }
} }
argc -= optind; argc -= optind;

View File

@@ -201,7 +201,7 @@ main(int argc, char *argv[])
break; break;
default: default:
usage(); usage();
/* NOTREACHED */ /* NOTREACHED */
} }
} }
argc -= optind; argc -= optind;

View File

@@ -197,7 +197,7 @@ main(int argc, char *argv[])
break; break;
case 'h': case 'h':
help(); help();
/* NOTREACHED */ /* NOTREACHED */
case 'I': case 'I':
edit_includes = false; edit_includes = false;
break; break;

View File

@@ -703,7 +703,7 @@ exec_monitor(struct command_details *details, sigset_t *oset,
#endif #endif
sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, 1); sudo_debug_exit_int(__func__, __FILE__, __LINE__, sudo_debug_subsys, 1);
_exit(EXIT_FAILURE); _exit(EXIT_FAILURE);
/* NOTREACHED */ /* NOTREACHED */
bad: bad:
debug_return_int(-1); debug_return_int(-1);

View File

@@ -1168,7 +1168,7 @@ policy_open(void)
if (ok != 1) { if (ok != 1) {
if (ok == -2) if (ok == -2)
usage(); usage();
/* XXX - audit */ /* XXX - audit */
sudo_fatalx("%s", U_("unable to initialize policy plugin")); sudo_fatalx("%s", U_("unable to initialize policy plugin"));
} }