Coverity PW.PARAMETER_HIDDEN - CID 10671
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Unity | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | |||
unity (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: 10671
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/
Function: No function name available
Code snippet:
133 indicator = panel_service_
134 if (INDICATOR_
135 {
136 AtkObject *child;
CID 10671 - PW.PARAMETER_HIDDEN
declaration hides parameter "data" (declared at line 114)
137 gpointer *data;
138
139 child = panel_indicator
140 /* FIXME: use proper signals once we support dynamic adding/removing
141 * of indicators */
142 data = g_new0 (gpointer, 2);
Related branches
- Thomi Richards (community): Approve
- Tim Penhey (community): Approve
- Andrea Azzarone (community): Approve
- Michal Hruby (community): Approve
-
Diff: 2730 lines (+1212/-342)31 files modifiedCMakeLists.txt (+1/-1)
UnityCore/AppmenuIndicator.cpp (+37/-0)
UnityCore/AppmenuIndicator.h (+45/-0)
UnityCore/CMakeLists.txt (+2/-0)
UnityCore/DBusIndicators.cpp (+87/-38)
UnityCore/DBusIndicators.h (+5/-2)
UnityCore/Indicator.cpp (+31/-11)
UnityCore/Indicator.h (+11/-7)
UnityCore/IndicatorEntry.cpp (+29/-24)
UnityCore/IndicatorEntry.h (+12/-7)
UnityCore/Indicators.cpp (+28/-7)
UnityCore/Indicators.h (+31/-10)
plugins/unityshell/src/PanelIndicatorEntryView.cpp (+21/-7)
plugins/unityshell/src/PanelIndicatorEntryView.h (+1/-0)
plugins/unityshell/src/PanelIndicatorsView.cpp (+1/-1)
plugins/unityshell/src/PanelIndicatorsView.h (+1/-1)
plugins/unityshell/src/PanelView.cpp (+6/-5)
plugins/unityshell/src/PanelView.h (+3/-3)
services/CMakeLists.txt (+1/-1)
services/panel-indicator-entry-accessible.c (+2/-1)
services/panel-main.c (+33/-10)
services/panel-marshal.list (+1/-0)
services/panel-root-accessible.c (+5/-5)
services/panel-service.c (+410/-165)
services/panel-service.h (+11/-4)
tests/CMakeLists.txt (+15/-2)
tests/test_indicator.cpp (+207/-0)
tests/test_indicator_appmenu.cpp (+66/-0)
tests/test_indicator_entry.cpp (+99/-22)
tests/unit/TestMain.cpp (+4/-4)
tests/unit/TestPanelService.cpp (+6/-4)
Changed in unity: | |
milestone: | 5.6.0 → 5.8.0 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Source file with Coverity annotations.