Skip to content

Commit

Permalink
[Coverity] Uninitialized members (#27071)
Browse files Browse the repository at this point in the history
### Details:
- Regarding CID: 1559222 and 1559203. This could be false positive since
the class IncreasePositionIdsPrecision does not have any member
variables that need initialization. I updated line 50 to ensure 'this'
pointer is properly captured.

- Regarding CID: 1559220 and 1559209. This could also be a false
positive. To address this issue I'm proposing to explicitly call the
base class constructor in the initializer list of the constructor.

Need to re-run the Coverity scan to confirm fix.

### Tickets:
 - CVS-149659
  • Loading branch information
mhpanah authored Nov 26, 2024
1 parent 45dd918 commit 0d0452f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
namespace ov {
namespace intel_gpu {

DynamicQuantizeFullyConnected::DynamicQuantizeFullyConnected(uint64_t group_size) {
DynamicQuantizeFullyConnected::DynamicQuantizeFullyConnected(uint64_t group_size)
: ov::pass::MatcherPass() { // Explicitly call the base class constructor
GPU_DEBUG_GET_INSTANCE(debug_config);
using namespace ov::pass::pattern;

Expand Down

0 comments on commit 0d0452f

Please sign in to comment.