diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp
index 462f56401cb1402030192221c34e4d53fb7fe0e7..34bde6ce5fb9850ec009e2e56cc33fe78bdb96cc 100644
--- a/xmrstak/jconf.cpp
+++ b/xmrstak/jconf.cpp
@@ -158,6 +158,7 @@ bool jconf::GetPoolConfig(size_t id, pool_cfg& cfg)
 	}
 	else /* Special case - user selected same weights for everything */
 		cfg.weight = 0.0;
+	return true;
 }
 
 bool jconf::TlsSecureAlgos()