Coverity UNUSED_VALUE - CID 10614

Bug #937525 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libunity
Won't Fix
Low
Unassigned
5.0
Won't Fix
Low
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: 10614
Checker: UNUSED_VALUE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/563.html
File: /tmp/buildd/libunity-5.4.0/src/unity-sound-menu-mpris.c
Function: unity_mpris_root_constructor()
Code snippet:
2947 GObjectClass * parent_class;
2948 UnityMprisRoot * self;
2949 parent_class = G_OBJECT_CLASS (unity_mpris_root_parent_class);
2950 obj = parent_class->constructor (type, n_construct_properties, construct_properties);
CID 10614 - UNUSED_VALUE
Pointer "self" returned by "g_type_check_instance_cast((GTypeInstance *)obj, unity_mpris_root_get_type())" is never used.
2951 self = UNITY_MPRIS_ROOT (obj);
2952 return obj;
2953 }
2954
2955
2956 static void unity_mpris_root_class_init (UnityMprisRootClass * klass) {

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : libunity-5.0: /tmp/buildd/libunity-5.4.0/src/unity-sound-menu-mpris.c

Source file with Coverity annotations.

Changed in libunity:
importance: Undecided → Low
Michal Hruby (mhr3)
Changed in libunity:
status: New → Won't Fix
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.