eliminate many "unused parameter" warnings

Partially addresses issue #3430.
This commit is contained in:
Kurtis Rader
2016-10-09 14:38:26 -07:00
parent 851e449347
commit c07c98ac05
28 changed files with 125 additions and 35 deletions

View File

@@ -285,6 +285,7 @@ pid_t execute_fork(bool wait_for_threads_to_die) {
bool fork_actions_make_spawn_properties(posix_spawnattr_t *attr,
posix_spawn_file_actions_t *actions, job_t *j, process_t *p,
const io_chain_t &io_chain) {
UNUSED(p);
// Initialize the output.
if (posix_spawnattr_init(attr) != 0) {
return false;