Coverity DEADCODE - CID 10033

Bug #937401 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BAMF
Invalid
Medium
Unassigned
Legacy
Invalid
Medium
Unassigned
Messaging Menu
Invalid
Medium
Unassigned
12.10
Invalid
Undecided
Unassigned
dee
Status tracked in 1.0
1.0
Invalid
Medium
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10033
Checker: DEADCODE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/561.html
File: /tmp/buildd/bamf-0.2.106/build/gtk2/doc/reference/libbamf/libbamf-scan.c
Function: output_object_args()
Code snippet:
1114 return;
1115
1116 object_class_name = g_type_name (object_type);
1117
CID 10033 - DEADCODE
After this line, the value of "child_prop" is equal to 0.
Assigning: "child_prop" = "0".
1118 child_prop = FALSE;
1119 style_prop = FALSE;
1120
1121 while (TRUE) {
1122 qsort (properties, n_properties, sizeof (GParamSpec *), compare_param_specs);
1123 for (arg = 0; arg < n_properties; arg++)

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : bamf-trunk: /tmp/buildd/bamf-0.2.106/build/gtk2/doc/reference/libbamf/libbamf-scan.c

Source file with Coverity annotations.

Changed in bamf:
importance: Undecided → Medium
Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : dee-1.0: /tmp/buildd/dee-1.0.4/doc/reference/dee-1.0/dee-1.0-scan.c

Source file with Coverity annotations.

Changed in dee:
importance: Undecided → Medium
Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-messages-12.10: /tmp/buildd/indicator-messages-12.10.6/doc/reference/messaging-menu-scan.c

Source file with Coverity annotations.

Changed in indicator-messages:
importance: Undecided → Medium
Revision history for this message
Charles Kerr (charlesk) wrote :

This isn't exactly a duplicate of bug #937399 but they're very similar.

The Coverity tweaks I recommended at https://bugs.launchpad.net/bamf/+bug/937399/comments/4 will resolve this issue too.

Changed in bamf:
status: New → Invalid
Changed in indicator-messages:
status: New → Invalid
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.