From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id EE0224696C3 for ; Sat, 4 Apr 2020 02:23:28 +0300 (MSK) From: Vladislav Shpilevoy Date: Sat, 4 Apr 2020 01:23:27 +0200 Message-Id: <8de8339cc6d4592ed3e61d28de2554dbcb0a210c.1585956116.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org --- 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)