Coverity UNUSED_VALUE - CID 10606

Bug #937532 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: 10606
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_blacklist_manager_constructor()
Code snippet:
2449 GObjectClass * parent_class;
2450 UnityBlacklistManager * self;
2451 parent_class = G_OBJECT_CLASS (unity_blacklist_manager_parent_class);
2452 obj = parent_class->constructor (type, n_construct_properties, construct_properties);
CID 10606 - UNUSED_VALUE
Pointer "self" returned by "g_type_check_instance_cast((GTypeInstance *)obj, unity_blacklist_manager_get_type())" is never used.
2453 self = UNITY_BLACKLIST_MANAGER (obj);
2454 return obj;
2455 }
2456
2457
2458 static void unity_blacklist_manager_class_init (UnityBlacklistManagerClass * 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.