]> Sergey Matveev's repositories - nnn.git/commitdiff
PCRE 2 - fix compilation error
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 24 Jan 2020 16:55:27 +0000 (22:25 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 24 Jan 2020 16:55:27 +0000 (22:25 +0530)
src/nnn.c

index 7278b8592218b9dbb00dff7b3859c24b3833f5b7..eda623cec5c948f2041a6bc141a2160587c41d0f 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1876,6 +1876,7 @@ static char xchartohex(char c)
 
 static char * (*fnstrstr)(const char *haystack, const char *needle) = &strcasestr;
 #ifdef PCRE
+static const unsigned char *tables;
 static int pcreflags = PCRE_NO_AUTO_CAPTURE | PCRE_EXTENDED | PCRE_CASELESS;
 #else
 static int regflags = REG_NOSUB | REG_EXTENDED | REG_ICASE;