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

Nikita Pettik korablev at tarantool.org
Mon Apr 6 13:53:09 MSK 2020


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.



More information about the Tarantool-patches mailing list