[Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat Apr 4 02:23:27 MSK 2020


---
Branch: http://github.com/tarantool/tarantool/tree/gerold103/remove-dead-code

 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 c350abb4a..8352cbdf7 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,
-- 
2.21.1 (Apple Git-122.3)



More information about the Tarantool-patches mailing list