Coverity PW.PARAMETER_HIDDEN - CID 10732

Bug #957412 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Application Menu Indicator
Fix Released
Low
Charles Kerr
0.4
Fix Released
Low
Charles Kerr

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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10732
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/indicator-appmenu-0.3.94/src/indicator-appmenu.c
Function: No function name available
Code snippet:
1291 GError * error = NULL;
1292
1293 if (g_strcmp0(method, "RegisterWindow") == 0) {
1294 guint32 xid;
CID 10732 - PW.PARAMETER_HIDDEN
declaration hides parameter "path" (declared at line 1285)
1295 const gchar * path;
1296 g_variant_get(params, "(u&o)", &xid, &path);
1297 retval = register_window(iapp, xid, path, sender);
1298 } else if (g_strcmp0(method, "UnregisterWindow") == 0) {
1299 guint32 xid;
1300 g_variant_get(params, "(u)", &xid);

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-appmenu-0.4: /tmp/buildd/indicator-appmenu-0.3.94/src/indicator-appmenu.c

Source file with Coverity annotations.

Changed in indicator-appmenu:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.