Coverity DEADCODE - CID 12429 - plugins/animation/src/options.cpp dead_default_in_switch in function PrivateAnimScreen::updateOptionSet
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:/
CID: 12429
Checker: DEADCODE
Category: dead_default_
CWE definition: http://
File: /tmp/buildd/
Function: PrivateAnimScre
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
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 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Source file with Coverity annotations.