Coverity PW.PARAMETER_HIDDEN - CID 12368
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chewie-client |
New
|
Medium
|
Unassigned | ||
12.10 |
New
|
Undecided
|
Unassigned |
Bug Description
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/
CID: 12368
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
Function: No function name available
Code snippet:
172 int modulePos = getModelAndOffs
173 if (role == Depth) {
174 attribute = QVariant(depth);
175 } else {
CID 12368 - PW.PARAMETER_HIDDEN
declaration hides parameter "index" (declared at line 163)
176 QModelIndex index = base->index(
177 attribute = base->data(index, role);
178 }
179 }
180 return attribute;
181 }
Source file with Coverity annotations.