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)

Bug #1101446 reported by Product Strategy Coverity Bug Uploader on 2013-01-18
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
High
MC Return
0.9.9
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 12554
Checker: UNINIT
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/457.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/grid/src/grid.cpp
Function: GridScreen::initiateCommon(CompAction *, unsigned int, std::vector<CompOption, std::allocator<CompOption>> &, unsigned int, bool, bool)
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 () & CompWindowActionResizeMask))
143 return false;

Related branches

MC Return (mc-return) on 2013-07-05
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
MC Return (mc-return) on 2013-07-06
Changed in compiz:
status: New → Triaged
assignee: nobody → MC Return (mc-return)
MC Return (mc-return) on 2013-07-07
Changed in compiz:
status: Triaged → In Progress
MC Return (mc-return) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers