Coverity DEADCODE - CID 13650

Bug #1109115 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
High
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: 13650
Checker: DEADCODE
Category: dead_default_in_switch
CWE definition: http://cwe.mitre.org/data/definitions/561.html
File: /tmp/buildd/overlay-scrollbar-0.2.16+r359daily12.11.30/os/os-thumb.c
Function: os_thumb_expose
Code snippet:
692 cairo_set_line_width (cr, 1.0);
693 cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
694
695 /* Type of action. */
CID 13650 - DEADCODE
Assigning: "action" = "0".
696 action = ACTION_NORMAL;
697 if (priv->event & OS_EVENT_BUTTON_PRESS)
698 {
699 if (priv->event & OS_EVENT_MOTION_NOTIFY)
CID 13650 - DEADCODE
Assigning: "action" = "1".
700 action = ACTION_DRAG;
701 else if ((priv->orientation == GTK_ORIENTATION_VERTICAL && (priv->pointer.y < height / 2)) ||

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-thumb.c

Source file with Coverity annotations.

Changed in overlay-scrollbar:
importance: Undecided → Medium
Revision history for this message
Allan LeSage (allanlesage) wrote :

I'm going to up the importance of this as it'll have the effect of blocking landing for any MP.

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.05-0ubuntu1

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

  [ Brandon Schaefer ]
  * Coverity DEADCODE - CID 13650 (LP: #1109115)

  [ Automatic PS uploader ]
  * Automatic snapshot from revision 365
 -- Automatic PS uploader <email address hidden> Tue, 05 Feb 2013 00:00:56 +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.