diff options
| author | Ben Fuhrmannek | 2021-08-06 16:40:27 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-08-06 16:40:27 +0200 |
| commit | 11141456a4c3026b2bc9b2b7ba6141622e8fcf3a (patch) | |
| tree | 6e9b9705f8843e6259c4e5242a0fd0344eb4801c /src/sp_pcre_compat.c | |
| parent | baecad40b5b8a977ce2a42f9ad1e31820254ae6e (diff) | |
removed useless assignment
Diffstat (limited to 'src/sp_pcre_compat.c')
| -rw-r--r-- | src/sp_pcre_compat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp_pcre_compat.c b/src/sp_pcre_compat.c index 3bd00ca..2b9f08d 100644 --- a/src/sp_pcre_compat.c +++ b/src/sp_pcre_compat.c | |||
| @@ -4,7 +4,6 @@ inline void sp_pcre_free(sp_pcre* regexp) { | |||
| 4 | #ifdef SP_HAS_PCRE2 | 4 | #ifdef SP_HAS_PCRE2 |
| 5 | pcre2_code_free(regexp); | 5 | pcre2_code_free(regexp); |
| 6 | #endif | 6 | #endif |
| 7 | regexp = NULL; | ||
| 8 | } | 7 | } |
| 9 | 8 | ||
| 10 | sp_pcre* sp_pcre_compile(const char* const pattern) { | 9 | sp_pcre* sp_pcre_compile(const char* const pattern) { |
