Value stored to 'strutX2' is never read
Bug #1409976 reported by
Stephen M. Webb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Bug reported by the clang static analyzer.
Bug Summary
File: src/window.cpp
Location: line 1103, column 6
Description: Value stored to 'strutX2' is never read
1102 strutX1 = newStrut.right.x;
1103 strutX2 = strutX1 + newStrut.
Value stored to 'strutX2' is never read
1104 strutY1 = newStrut.right.y;
1105 strutY2 = strutY1 + newStrut.
1106
1107 if (strutX1 > x1 && strutX1 <= x2 &&
1108 strutY1 < y2 && strutY2 > y1)
1109 {
1110 newStrut.right.x = strutX1;
1111 newStrut.
1112 }
This looks like a possible cut-n-paste error that could result in geometry getting messed up.
tags: | added: rls-w-incoming |
Changed in compiz: | |
status: | New → Triaged |
tags: |
added: rls-x-incoming removed: rls-w-incoming |
To post a comment you must log in.