src/edit/syntax.c: cleanup empty macro.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2019-02-14 16:09:47 +03:00
parent 516eca2658
commit 3bb602d86f

View File

@ -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)