summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Src/jobs.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 621f744bd..6a3d18bf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-10-31  Oliver Kiddle  <opk@zsh.org>
 
+	* unposted: Src/jobs.c: quash compiler warning
+
 	* unposted: Test/X02zlevi.ztst: correct cursor position in test
 
 2014-10-31  Peter Stephenson  <p.stephenson@samsung.com>
diff --git a/Src/jobs.c b/Src/jobs.c
index 494d5aa90..6663a40a6 100644
--- a/Src/jobs.c
+++ b/Src/jobs.c
@@ -1813,7 +1813,9 @@ static int hackspace;
 void
 init_jobs(char **argv, char **envp)
 {
+#ifndef HAVE_SETPROCTITLE
     char *p, *q;
+#endif
     size_t init_bytes = MAXJOBS_ALLOC*sizeof(struct job);
 
     /*