From 248bfb96fe14f06dadbafdd6f1926748073d970e Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 12 Jun 2021 22:48:59 +0200 Subject: [PATCH] shared: LooksQuery: init tokensMask with 0 to be sure --- shared/looqsquery.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/looqsquery.h b/shared/looqsquery.h index bca1b1c..da6c9c7 100644 --- a/shared/looqsquery.h +++ b/shared/looqsquery.h @@ -39,7 +39,7 @@ class LooqsQuery private: /* Helper field to determine quertype as well as to quickly check what kind of filters etc. * are being used in this query*/ - int tokensMask; + int tokensMask = 0; QVector tokens; QVector sortConditions; void addToken(Token t);