Coverity DEADCODE - CID 12429 - plugins/animation/src/options.cpp dead_default_in_switch in function PrivateAnimScreen::updateOptionSet

Bug #1101574 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Low
Unassigned
0.9.9
Won't Fix
Low
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: 12429
Checker: DEADCODE
Category: dead_default_in_switch
CWE definition: http://cwe.mitre.org/data/definitions/561.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/animation/src/options.cpp
Function: PrivateAnimScreen::updateOptionSet(OptionSet *, const char *)
Code snippet:
161
162 // Tokenize pairs
163 name = strtok (optNamesValues, betweenOptVal);
164
CID 12429 - DEADCODE
Assigning: "errorNo" = "-1".
165 int errorNo = -1;
166 unsigned int i;
167 for (i = 0; name && i < nPairs; i++)
168 {
169 errorNo = 0;
170 if (strchr (name, betweenPairs[0])) // handle "a, b=4" case

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-0.9.9: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/animation/src/options.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity DEADCODE - CID 12429
+ Coverity DEADCODE - CID 12429 - plugins/animation/src/options.cpp
+ dead_default_in_switch in function PrivateAnimScreen::updateOptionSet
Changed in compiz:
milestone: none → 0.9.10.0
importance: Medium → Low
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
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.