Coverity UNUSED_VALUE - CID 13653

Bug #1109114 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
overlay-scrollbar
Status tracked in Trunk
Trunk
Fix Committed
Low
Brandon Schaefer
overlay-scrollbar (Ubuntu)
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: 13653
Checker: UNUSED_VALUE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/563.html
File: /tmp/buildd/overlay-scrollbar-0.2.16+r359daily12.11.30/os/os-scrollbar.c
Function: thumb_map_cb
Code snippet:
1968 unsigned int value_mask = CWSibling | CWStackMode;
1969 int res;
1970
1971 scrollbar = GTK_SCROLLBAR (user_data);
CID 13653 - UNUSED_VALUE
Pointer "priv" returned by "get_private((GtkWidget *)g_type_check_instance_cast((GTypeInstance *)scrollbar, gtk_widget_get_type()))" is never used.
1972 priv = get_private (GTK_WIDGET (scrollbar));
1973
1974 #ifdef USE_GTK3
1975 /* Immediately set the bar to be active. */
1976 priv->deactivable_bar = FALSE;
1977 os_bar_set_active (priv->bar, TRUE, FALSE);

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : overlay-scrollbar-13.04: /tmp/buildd/overlay-scrollbar-0.2.16+r359daily12.11.30/os/os-scrollbar.c

Source file with Coverity annotations.

Changed in overlay-scrollbar:
importance: Undecided → Low
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Strange, it is used, but only if GTK3 in the #ifndef...Ill just move it into the #ifndef

Changed in overlay-scrollbar:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package overlay-scrollbar - 0.2.16+r359daily13.02.06-0ubuntu1

---------------
overlay-scrollbar (0.2.16+r359daily13.02.06-0ubuntu1) raring; urgency=low

  [ Brandon Schaefer ]
  * Scrollbars - difficult to resize panels with overlay scrollbar (LP:
    #907837)
  * Coverity UNUSED_VALUE - CID 13652 (LP: #1109113)
  * Coverity UNUSED_VALUE - CID 13653 (LP: #1109114)

  [ Andrea Azzarone ]
  * Scrollbars - difficult to resize panels with overlay scrollbar (LP:
    #907837)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 369
 -- Automatic PS uploader <email address hidden> Wed, 06 Feb 2013 00:00:54 +0000

Changed in overlay-scrollbar (Ubuntu):
status: New → 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.