diff options
author | Friedemann Kleint <[email protected]> | 2025-05-22 12:06:43 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2025-05-22 12:43:54 +0200 |
commit | 334b7bc2ab29475553da6941844b0504c63200ba (patch) | |
tree | cc6c8d4747d365ec47cb07d115c7d134c325da29 /src | |
parent | 41ec5faf764770fc20b7afb270029a2b10cea8f0 (diff) |
Coverity-Id: 481487
Pick-to: 6.9 6.8
Change-Id: Ie6e59597cf973375d3cfde0131837494e59102ee
Reviewed-by: Joerg Bornemann <[email protected]>
Reviewed-by: Masoud Jami <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/linguist/lupdate/python.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/linguist/lupdate/python.cpp b/src/linguist/lupdate/python.cpp index a7619c3ab..5f1aad75e 100644 --- a/src/linguist/lupdate/python.cpp +++ b/src/linguist/lupdate/python.cpp @@ -724,21 +724,21 @@ private: } QString yyFileName; - Token yyTok; - int yyCh; + Token yyTok{}; + int yyCh{}; QByteArray yyIdent; char yyString[65536]; - size_t yyStringLen; - int yyParenDepth; + size_t yyStringLen{}; + int yyParenDepth{}; int yyLineNo = 1; - int yyCurLineNo; + int yyCurLineNo{}; // the file to read from (if reading from a file) FILE *yyInFile; // the string to read from and current position in the string (otherwise) - int yyInPos; - int buf; - int yyIndentationSize; - int yyContinuousSpaceCount; + int yyInPos{}; + int buf{}; + int yyIndentationSize{}; + int yyContinuousSpaceCount{}; bool yyCountingIndentation = false; // (Context, indentation level) pair. using ContextPair = QPair<QByteArray, int>; |