From 8e7a2e11ceec4f456e14d773b28e95f00fdff926 Mon Sep 17 00:00:00 2001
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Date: Sat, 4 Apr 2020 01:20:40 +0200
Subject: [PATCH] error: remove an unused global variable from diag.c

---
 src/lib/core/diag.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/lib/core/diag.c b/src/lib/core/diag.c
index c350abb4a3..8352cbdf7f 100644
--- a/src/lib/core/diag.c
+++ b/src/lib/core/diag.c
@@ -31,9 +31,6 @@
 #include "diag.h"
 #include "fiber.h"
 
-/* Must be set by the library user */
-struct error_factory *error_factory = NULL;
-
 void
 error_create(struct error *e,
 	     error_f destroy, error_f raise, error_f log,
-- 
GitLab