[Nagios-checkins] SF.net SVN: nagios:[2084] nagioscore/trunk/base/workers.c

ageric at users.sourceforge.net ageric at users.sourceforge.net
Sun Aug 26 19:57:43 UTC 2012


Revision: 2084
          http://nagios.svn.sourceforge.net/nagios/?rev=2084&view=rev
Author:   ageric
Date:     2012-08-26 19:57:42 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
core workers: Remove an unused variable

Just kill the gcc warnings so we once again compile warning-free.

Signed-off-by: Andreas Ericsson <ae at op5.se>

Modified Paths:
--------------
    nagioscore/trunk/base/workers.c

Modified: nagioscore/trunk/base/workers.c
===================================================================
--- nagioscore/trunk/base/workers.c	2012-08-21 09:55:09 UTC (rev 2083)
+++ nagioscore/trunk/base/workers.c	2012-08-26 19:57:42 UTC (rev 2084)
@@ -102,13 +102,9 @@
 
 static void destroy_job(worker_process *wp, worker_job *job)
 {
-	wproc_object_job *oj;
-
 	if (!job)
 		return;
 
-	oj = (wproc_object_job *)job->arg;
-
 	switch (job->type) {
 	case WPJOB_CHECK:
 		free_check_result(job->arg);

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Nagios-commits mailing list