Coverity MISSING_BREAK - CID 10717

Bug #944236 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Application Indicators
Fix Released
High
Ted Gould
0.4
Fix Released
Undecided
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: 10717
Checker: MISSING_BREAK
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/484.html
File: /tmp/buildd/indicator-application-0.4.91/src/application-service-appstore.c
Function: bus_method_call()
Code snippet:
281 g_variant_get (params, "(ssiu)", &dbusaddress, &dbusmenuobject,
282 &delta, &direction);
283
284 switch (direction) {
CID 10717 - MISSING_BREAK
This case (value 0) is not terminated by a 'break' statement.
285 case INDICATOR_OBJECT_SCROLL_UP:
286 delta = -delta;
CID 10717 - MISSING_BREAK
The above case falls through to this one.
287 case INDICATOR_OBJECT_SCROLL_DOWN:
288 orientation = "vertical";
289 break;
290

Related branches

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : indicator-application-0.4: /tmp/buildd/indicator-application-0.4.91/src/application-service-appstore.c

Source file with Coverity annotations.

Changed in indicator-application:
importance: Undecided → High
Ted Gould (ted)
Changed in indicator-application:
status: New → In Progress
assignee: nobody → Ted Gould (ted)
milestone: none → 0.4.91
Revision history for this message
Charles Kerr (charlesk) wrote :
Changed in indicator-application:
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in indicator-application:
milestone: 0.4.91 → 0.4.92
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.