Coverity DEADCODE - CID 12430 - plugins/put/src/put.cpp, dead_default_in_switch in PutScreen::getDistance function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Low
|
Unassigned | ||
0.9.9 |
Won't Fix
|
Medium
|
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: 12430
Checker: DEADCODE
Category: dead_default_
CWE definition: http://
File: /tmp/buildd/
Function: PutScreen:
Code snippet:
402 workArea = s->getWorkareaF
403 ps->lastType = type;
404 }
405
CID 12430 - DEADCODE
Condition "type >= 20", taking true branch. Now the value of "type" is at least 20.
Condition "type <= 28", taking true branch. Now the value of "type" is between 20 and 28.
406 if (PUT_ONLY_EMPTY (type))
407 {
408 unsigned int mask;
409 XWindowChanges xwc;
410 bool left, right, up, down;
411
summary: |
- Coverity DEADCODE - CID 12430 + Coverity DEADCODE - CID 12430 - plugins/put/src/put.cpp, + dead_default_in_switch in PutScreen::getDistance function |
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.