From 29a2cb58ef79f526b3f5a4292ae76a745ca348aa Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 19 Jan 2020 00:33:57 +0100 Subject: [PATCH] fixed CAP_THREAD==0 --- fieldpattern.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fieldpattern.cpp b/fieldpattern.cpp index 1ac1ef65..4344bd9a 100644 --- a/fieldpattern.cpp +++ b/fieldpattern.cpp @@ -284,7 +284,9 @@ struct fpattern { fpattern(int p) { force_hash = 0; - dis = nullptr; + #if CAP_THREAD + dis = nullptr; + #endif if(!p) return; init(p); }