{ "tokens": { "input": 2428, "cache_read": 1731, "cache_write": 1731, "output": 1823 }, "reviews": [ { "key": [ "https://ftp.debian.org/debian/pool/main/n/nettle4/nettle4_4.0.orig.tar.gz", "your nettle-4.0/testsuite/testutils.h:46:19: warning: Member variable 'tstring::next' has no initializer. [uninitMemberVarNoCtor]" ], "verdict": { "verdict": "regression", "confidence": "high", "explanation": "`struct tstring` is a plain C-style struct (inside `extern \"C\"`) with no constructor and no default member initializers. The members are `next`, `length` and a flexible array member `data[]`. `uninitMemberVarNoCtor` is meant for classes where some members have initializers and others do not. The new hack makes `isInitialized` return true for arrays declared with `[]` or `[0]`. That apparently makes the flexible array count as an initialized member, so the check now flags the ordinary members of a POD struct. Nothing in this struct is initialized in-class, so this new warning is a false positive." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/n/nettle4/nettle4_4.0.orig.tar.gz", "your nettle-4.0/testsuite/testutils.h:47:10: warning: Member variable 'tstring::length' has no initializer. [uninitMemberVarNoCtor]" ], "verdict": { "verdict": "regression", "confidence": "high", "explanation": "`tstring` is a plain C struct inside `extern \"C\"`. It has no constructor and no in-class initializers: `next`, `length`, and the flexible array member `data[]`. cppcheck normally does not report `uninitMemberVarNoCtor` for aggregates where no member is initialized. The PR now treats the flexible array `data[]` as 'initialized'. That makes the struct look partly initialized, so the other members are wrongly flagged. Nothing in this C-style struct is meant to have a default initializer, so the new warning is a false positive." } } ], "started": "2026-11-05 23:27:21 UTC", "runner": "server" }