summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regparse.c b/regparse.c
index a207de3..149d857 100644
--- a/regparse.c
+++ b/regparse.c
@@ -265,7 +265,7 @@ strdup_with_null(OnigEncoding enc, UChar* s, UChar* end)
#ifdef __GNUC__
/* get rid of Wunused-but-set-variable */
-#define PFETCH_READY UChar* pfetch_prev = pfetch_prev
+#define PFETCH_READY UChar* pfetch_prev = NULL
#else
#define PFETCH_READY UChar* pfetch_prev
#endif