Coverity UNUSED_VALUE - CID 10632

Bug #937460 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Sound Menu
Fix Released
Low
Conor Curran
Fifth
Fix Released
Low
Conor Curran

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: 10632
Checker: UNUSED_VALUE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/563.html
File: /tmp/buildd/indicator-sound-0.8.0.0/src/pulseaudio-mgr.c
Function: pm_context_state_callback()
Code snippet:
349 pa_operation *o;
350
351 pa_context_set_subscribe_callback(c, pm_subscribed_events_callback, userdata);
352
CID 10632 - UNUSED_VALUE
Pointer "o" returned by "pa_context_subscribe(c, (enum pa_subscription_mask)143, NULL, NULL)" is never used.
353 if (!(o = pa_context_subscribe (c, (pa_subscription_mask_t)
354 (PA_SUBSCRIPTION_MASK_SINK|
355 PA_SUBSCRIPTION_MASK_SOURCE|
356 PA_SUBSCRIPTION_MASK_SINK_INPUT|
357 PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT|
358 PA_SUBSCRIPTION_MASK_SERVER), NULL, NULL))) {

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-sound-fifth: /tmp/buildd/indicator-sound-0.8.0.0/src/pulseaudio-mgr.c

Source file with Coverity annotations.

Changed in indicator-sound:
importance: Undecided → Low
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.