Coverity PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE - CID 10616

Bug #939058 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicator
In Progress
Medium
Ted Gould
0.5
In Progress
Medium
Ted Gould

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: 10616
Checker: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/libindicator-0.4.90/libindicator/indicator-object.c
Function: No function name available
Code snippet:
819
820 Return value: (transfer none): Gets the list of strings that
821 represent the environment or NULL if none were given.
822 */
CID 10616 - PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE
type qualifier on return type is meaningless
823 const GStrv
824 indicator_object_get_environment (IndicatorObject * io)
825 {
826 g_return_val_if_fail(INDICATOR_IS_OBJECT(io), NULL);
827 return io->priv->environments;
828 }

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : libindicator-0.5: /tmp/buildd/libindicator-0.4.90/libindicator/indicator-object.c

Source file with Coverity annotations.

Changed in libindicator:
importance: Undecided → Medium
Revision history for this message
Charles Kerr (charlesk) wrote :
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.