From 3bb602d86f6544147b5ae74ebe6e0b96023afd2c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 14 Feb 2019 16:09:47 +0300 Subject: [PATCH] src/edit/syntax.c: cleanup empty macro. Signed-off-by: Andrew Borodin --- src/editor/syntax.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/editor/syntax.c b/src/editor/syntax.c index 7d91ff1b9..1e0f8be9e 100644 --- a/src/editor/syntax.c +++ b/src/editor/syntax.c @@ -82,7 +82,6 @@ gboolean option_auto_syntax = TRUE; #define SYNTAX_TOKEN_BRACKET '\003' #define SYNTAX_TOKEN_BRACE '\004' -#define free_args(x) #define break_a { result = line; break; } #define check_a { if (*a == NULL) { result = line; break; } } #define check_not_a { if (*a != NULL) { result = line ;break; } } @@ -1205,10 +1204,8 @@ edit_read_syntax_rules (WEdit * edit, FILE * f, char **args, int args_size) /* anything else is an error */ break_a; } - free_args (args); MC_PTR_FREE (l); } - free_args (args); MC_PTR_FREE (l); if (edit->rules->len == 0)