diff options
Diffstat (limited to 'text-regex.c')
| -rw-r--r-- | text-regex.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/text-regex.c b/text-regex.c index dbaa5fc..c4134aa 100644 --- a/text-regex.c +++ b/text-regex.c @@ -4,7 +4,6 @@ #include "text-regex.h" struct Regex { - const char *string; regex_t regex; }; @@ -17,7 +16,6 @@ Regex *text_regex_new(void) { } int text_regex_compile(Regex *regex, const char *string, int cflags) { - regex->string = string; int r = regcomp(®ex->regex, string, cflags); if (r) regcomp(®ex->regex, "\0\0", 0); |
