* [Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c
@ 2020-04-03 23:23 Vladislav Shpilevoy
2020-04-06 10:53 ` Nikita Pettik
0 siblings, 1 reply; 2+ messages in thread
From: Vladislav Shpilevoy @ 2020-04-03 23:23 UTC (permalink / raw)
To: tarantool-patches, korablev
---
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c
2020-04-03 23:23 [Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c Vladislav Shpilevoy
@ 2020-04-06 10:53 ` Nikita Pettik
0 siblings, 0 replies; 2+ messages in thread
From: Nikita Pettik @ 2020-04-06 10:53 UTC (permalink / raw)
To: Vladislav Shpilevoy; +Cc: tarantool-patches
On 04 Apr 01:23, Vladislav Shpilevoy wrote:
> ---
> 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)
>
Pushed to master as obvious.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-06 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 23:23 [Tarantool-patches] [PATCH 1/1] error: remove an unused global variable from diag.c Vladislav Shpilevoy
2020-04-06 10:53 ` Nikita Pettik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox