fixed CAP_THREAD==0

This commit is contained in:
Zeno Rogue 2020-01-19 00:33:57 +01:00
parent 24b3d17eb4
commit 29a2cb58ef
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}