From c46b1424490215f89ec3ca5f35e7757476b5a325 Mon Sep 17 00:00:00 2001
From: jwindley <jwindley@unknown>
Date: Fri, 14 Nov 2003 23:05:59 +0000
Subject: [PATCH] Add return statement to comparator

---
 src/plugins/sched/comparator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/sched/comparator.h b/src/plugins/sched/comparator.h
index 65a6b95b6d3..14cfa13c053 100644
--- a/src/plugins/sched/comparator.h
+++ b/src/plugins/sched/comparator.h
@@ -135,7 +135,7 @@ public:
 
 	const bool eval( sched_obj_list_t obj_data, int32_t idx )
 	{
-		(int32_t) m_func( obj_data, idx, NULL ) > m_val;
+		return (int32_t) m_func( obj_data, idx, NULL ) > m_val;
 	}
 };
 
-- 
GitLab