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/fe-ignore.c | |
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/fe-ignore.c')
-rw-r--r-- | src/fe-common/core/fe-ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-ignore.c b/src/fe-common/core/fe-ignore.c index addfa0b8..03fd4dd2 100644 --- a/src/fe-common/core/fe-ignore.c +++ b/src/fe-common/core/fe-ignore.c @@ -58,7 +58,7 @@ static void ignore_print(int index, IGNORE_REC *rec) g_string_append(options, "-regexp "); if (rec->pattern == NULL) g_string_append(options, "[INVALID! -pattern missing] "); - else if (!rec->regexp_compiled) + else if (rec->preg == NULL) g_string_append(options, "[INVALID!] "); } if (rec->fullword) g_string_append(options, "-full "); |