{ "tokens": { "input": 5093, "cache_read": 1735, "cache_write": 3470, "output": 585 }, "reviews": [ { "key": [ "https://ftp.debian.org/debian/pool/main/g/glgrib/glgrib_1.0.orig.tar.xz", "main glgrib-1.0/src/glGrib/EarCut.cc:821:31: error: Uninitialized variable: ind1 [uninitvar]" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`ind1` is indexed as `ind1[c]` and its elements are used with `.size()` and `[i]`, so it is a C array of std containers (likely `std::vector<...> ind1[pools]`). Every element is default-constructed, so it is never uninitialized. Main wrongly treated any array of STL type as needing initialization. The PR limits that check to `std::array`, which removes this false positive (same pattern as #15077)." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/g/gmsh/gmsh_4.15.2+ds1.orig.tar.xz", "main gmsh-4.15.2-source/src/geo/GModel.cpp:838:21: warning: Uninitialized variable: c [uninitvar]\n gmsh-4.15.2-source/src/geo/GModel.cpp:824:30: note: Assuming condition is false\n gmsh-4.15.2-source/src/geo/GModel.cpp:838:21: note: Uninitialized variable: c" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`c` is a C array of `std::set`, and its elements are default-constructed. The old code treated any STL-typed array as needing initialization (`isStlType() && isArray()`), which is the pattern in #15077. Only `std::array` with standard element types should be flagged, and the PR now checks for exactly that. The uninitvar warning was a false positive, and removing it is correct." } }, { "key": [ "https://ftp.debian.org/debian/pool/main/g/gmsh/gmsh_4.15.2+ds1.orig.tar.xz", "main gmsh-4.15.2-source/src/geo/GModel.cpp:923:6: warning: Uninitialized variable: tags [uninitvar]\n gmsh-4.15.2-source/src/geo/GModel.cpp:918:44: note: Assuming condition is false\n gmsh-4.15.2-source/src/geo/GModel.cpp:923:6: note: Uninitialized variable: tags" ], "verdict": { "verdict": "improvement", "confidence": "high", "explanation": "`std::vector tags[4];` is a C array of std::vector. Each element is default-constructed, so `tags[0].size()` reads an initialized value. Main wrongly treated it as an uninitialized STL array because it checked isArray(). The PR limits the check to std::array, which removes this false positive." } } ], "started": "2026-10-29 20:50:21 UTC", "runner": "pc" }