if (job_slots > 1)
{
char *cp;
- char c = '+';
#ifdef WINDOWS32
/* sub_proc.c cannot wait for more than MAXIMUM_WAIT_OBJECTS objects
err, map_windows32_error_to_string(err));
}
#else
+ char c = '+';
+
if (pipe (job_fds) < 0 || (job_rfd = dup (job_fds[0])) < 0)
pfatal_with_name (_("creating jobs pipe"));
#endif
static void
clean_jobserver (int status)
{
- char token = '+';
-
/* Sanity: have we written all our jobserver tokens back? If our
exit status is 2 that means some kind of syntax error; we might not
have written all our tokens so do that now. If tokens are left
#ifdef WINDOWS32
if (has_jobserver_semaphore() && jobserver_tokens)
#else
+ char token = '+';
+
if (job_fds[0] != -1 && jobserver_tokens)
#endif
{