summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/fortune/fortune/fortune.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c
index 44910ca..d06ceda 100644
--- a/games/fortune/fortune/fortune.c
+++ b/games/fortune/fortune/fortune.c
@@ -303,7 +303,9 @@ register char **argv;
int ch;
ignore_case = FALSE;
+# ifndef NO_REGEX
pat = NULL;
+# endif /* NO_REGEX */
# ifdef DEBUG
while ((ch = getopt(argc, argv, "aDefilm:osw")) != -1)
OpenPOWER on IntegriCloud