From 5940a5f87649b3e7917267f1b66c7679e88e5b9c Mon Sep 17 00:00:00 2001
From: Tim Wickberg <tim@schedmd.com>
Date: Tue, 30 May 2017 16:27:16 -0600
Subject: [PATCH] Fix another build issue with elasticsearch.

Another issue inadvertently caused by 8d10ebf596.
---
 src/plugins/jobcomp/elasticsearch/jobcomp_elasticsearch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/jobcomp/elasticsearch/jobcomp_elasticsearch.c b/src/plugins/jobcomp/elasticsearch/jobcomp_elasticsearch.c
index 648f3411837..c0788b6e3a2 100644
--- a/src/plugins/jobcomp/elasticsearch/jobcomp_elasticsearch.c
+++ b/src/plugins/jobcomp/elasticsearch/jobcomp_elasticsearch.c
@@ -606,7 +606,7 @@ static void _make_time_str(time_t * time, char *string, int size)
 extern int slurm_jobcomp_log_record(struct job_record *job_ptr)
 {
 	char usr_str[32], grp_str[32], start_str[32], end_str[32];
-	char time_str[32], *qos, *state_string;
+	char time_str[32], *state_string;
 	time_t elapsed_time;
 	enum job_states job_state;
 	uint32_t time_limit;
-- 
GitLab