diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-18 21:01:00 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-18 21:01:00 +0100 |
| commit | 70c2ae4bea16a84e618d14a72a53602c401e75e1 (patch) | |
| tree | 7b978cb2507f31810a1a3ccb9fcf55d80ffbc608 /text-regex.c | |
| parent | b00adb799af3fcd74e6bbcfedee695fb43260fe5 (diff) | |
| download | vis-70c2ae4bea16a84e618d14a72a53602c401e75e1.tar.gz vis-70c2ae4bea16a84e618d14a72a53602c401e75e1.tar.xz | |
text-regex: remove unused struct member
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); |
