Coverity PW.PARAMETER_HIDDEN - CID 12485 - plugins/switcher/src/switcher.cpp - declaration hides parameter "w" (declared at line 462) -> 537 foreach (CompWindow *w, windows)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Low
|
Stephen M. Webb | ||
0.9.9 |
Won't Fix
|
Medium
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
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: 12485
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
Function: No function name available
Code snippet:
533 updateWindowList (count);
534
535 allWindowsWidth = windows.size () * WIDTH;
536
CID 12485 - PW.PARAMETER_HIDDEN
declaration hides parameter "w" (declared at line 462)
537 foreach (CompWindow *w, windows)
538 {
539 selectedWindow = w;
540
541 if (selectedWindow == selected)
542 break;
Related branches
- Christopher Townsend (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 15 lines (+2/-2)1 file modifiedplugins/switcher/src/switcher.cpp (+2/-2)
summary: |
- Coverity PW.PARAMETER_HIDDEN - CID 12485 + Coverity PW.PARAMETER_HIDDEN - CID 12485 - + plugins/switcher/src/switcher.cpp - declaration hides parameter "w" + (declared at line 462) -> 537 foreach (CompWindow *w, windows) |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Changed in compiz: | |
status: | New → Triaged |
importance: | Medium → Low |
milestone: | 0.9.11.0 → 0.9.12.1 |
Changed in compiz: | |
status: | Triaged → In Progress |
assignee: | nobody → Stephen M. Webb (bregma) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Source file with Coverity annotations.