Coverity PW.CAST_TO_QUALIFIED_TYPE - CID 10667

Bug #937436 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Applet
Fix Released
Medium
Charles Kerr
0.4
Fix Released
Undecided
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: 10667
Checker: PW.CAST_TO_QUALIFIED_TYPE
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/indicator-applet-0.4.90/src/applet-main.c
Function: No function name available
Code snippet:
591 IndicatorObject * io = indicator_object_new_from_file(fullpath);
592 g_free(fullpath);
593
594 /* Set the environment it's in */
CID 10667 - PW.CAST_TO_QUALIFIED_TYPE
type qualifier is meaningless on cast type
595 indicator_object_set_environment(io, (const GStrv)indicator_env);
596
597 /* Attach the 'name' to the object */
598 g_object_set_data_full(G_OBJECT(io), IO_DATA_NAME, g_strdup(name), g_free);
599 g_object_set_data(G_OBJECT(io), IO_DATA_ORDER_NUMBER, GINT_TO_POINTER(name2order(name, NULL)));
600

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-applet-0.4: /tmp/buildd/indicator-applet-0.4.90/src/applet-main.c

Source file with Coverity annotations.

Changed in indicator-applet:
importance: Undecided → Medium
Charles Kerr (charlesk)
Changed in indicator-applet:
status: New → In Progress
assignee: nobody → charles (charlesk)
Ted Gould (ted)
Changed in indicator-applet:
status: In Progress → Fix Committed
milestone: none → 0.4.91
Ted Gould (ted)
Changed in indicator-applet:
status: Fix Committed → Fix Released
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.