diff options
author | LemonBoy <thatlemon@gmail.com> | 2016-01-29 16:22:14 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@z30a.localdomain> | 2017-01-02 17:50:14 +0100 |
commit | 3fcd3cd2b9fae07a0b7cd3e5ba91049f19cc6501 (patch) | |
tree | 2f8cc52b98a0cc43acf7f4887984d70000a12e3e /src/fe-common/core/hilight-text.h | |
parent | b5a727c87cf7db944ade9c6714385f1e8598d37e (diff) | |
download | irssi-3fcd3cd2b9fae07a0b7cd3e5ba91049f19cc6501.zip |
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.
Diffstat (limited to 'src/fe-common/core/hilight-text.h')
-rw-r--r-- | src/fe-common/core/hilight-text.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.h b/src/fe-common/core/hilight-text.h index a74c38b0..93c573c2 100644 --- a/src/fe-common/core/hilight-text.h +++ b/src/fe-common/core/hilight-text.h @@ -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; }; |