Remove the regexp_compiled field.

It was made redundant by the introduction of the pointer to the GRegex
structure.
Silence the compiler warning in textbuffer.c about preg being
initialized by setting it to NULL.
This commit is contained in:
LemonBoy 2016-01-29 16:22:14 +01:00 committed by Ailin Nemui
commit 3fcd3cd2b9
6 changed files with 11 additions and 22 deletions

View file

@ -20,7 +20,6 @@ struct _HILIGHT_REC {
unsigned int fullword:1; /* match `text' only for full words */
unsigned int regexp:1; /* `text' is a regular expression */
unsigned int case_sensitive:1;/* `text' must match case */
unsigned int regexp_compiled:1; /* should always be TRUE, unless regexp is invalid */
GRegex *preg;
char *servertag;
};