Coverity UNINIT - CID 12554 - plugins/grid/src/grid.cpp - Declaring variable "xwc" without initializer in function GridScreen::initiateCommon(CompAction *, unsigned int, std::vector<CompOption, std::allocator<CompOption>> &, unsigned int, bool, bool)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
In Progress
|
High
|
MC Return | ||
0.9.9 |
Won't Fix
|
High
|
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: 12554
Checker: UNINIT
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: GridScreen:
Code snippet:
134 cw = screen->findWindow (xid);
135
136 if (cw)
137 {
CID 12554 - UNINIT
Declaring variable "xwc" without initializer.
138 XWindowChanges xwc;
139 bool maximizeH = where & (GridBottom | GridTop | GridMaximize);
140 bool maximizeV = where & (GridLeft | GridRight | GridMaximize);
141
142 if (!(cw->actions () & CompWindowActio
143 return false;
Related branches
- Compiz Maintainers: Pending requested
-
Diff: 583 lines (+135/-121)3 files modifiedplugins/grid/src/grabhandler/include/grabhandler.h (+2/-2)
plugins/grid/src/grid.cpp (+124/-117)
plugins/grid/src/grid.h (+9/-2)
summary: |
- Coverity UNINIT - CID 12554 + Coverity UNINIT - CID 12554 - plugins/grid/src/grid.cpp - Declaring + variable "xwc" without initializer in function + GridScreen::initiateCommon(CompAction *, unsigned int, + std::vector<CompOption, std::allocator<CompOption>> &, unsigned int, + bool, bool) |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
status: | New → Triaged |
assignee: | nobody → MC Return (mc-return) |
Changed in compiz: | |
status: | Triaged → In Progress |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
Source file with Coverity annotations.