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
10
This bug affects 2 people
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://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

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-0.9.9: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/grid/src/grid.cpp

Source file with Coverity annotations.

Changed in compiz:
importance: Undecided → High
MC Return (mc-return)
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)
Changed in compiz:
status: New → Triaged
assignee: nobody → MC Return (mc-return)
MC Return (mc-return)
Changed in compiz:
status: Triaged → In Progress
MC Return (mc-return)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.