Coverity DEADCODE - CID 12431 - plugins/winrules/src/winrules.cpp - in function: WinrulesScreen::optionChanged(CompOption *, WinrulesOptions::Options) - Assigning: "updateActionsMask" = *U several times and reassigning it immediately.

Bug #1101551 reported by Product Strategy Coverity Bug Uploader on 2013-01-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Medium
MC Return
0.9.9
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 12431
Checker: DEADCODE
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/561.html
File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/winrules/src/winrules.cpp
Function: WinrulesScreen::optionChanged(CompOption *, WinrulesOptions::Options)
Code snippet:
CID 12431 - DEADCODE
Assigning: "updateActionsMask" = "48U".
298 updateActionsMask = CompWindowActionMaximizeVertMask |
299 CompWindowActionMaximizeHorzMask;
300 break;
301 case WinrulesOptions::NoCloseMatch:
CID 12431 - DEADCODE
Assigning: "updateActionsMask" = "128U".
302 updateActionsMask = CompWindowActionCloseMask;
303 break;
304 case WinrulesOptions::NoArgbMatch:
305 foreach (CompWindow *w, screen->windows ())
306 {
307 WINRULES_WINDOW (w);

MC Return (mc-return) on 2013-07-06
summary: - Coverity DEADCODE - CID 12431
+ Coverity DEADCODE - CID 12431 - plugins/winrules/src/winrules.cpp - in
+ function: WinrulesScreen::optionChanged(CompOption *,
+ WinrulesOptions::Options) - Assigning: "updateActionsMask" = *U several
+ times and reassigning it immediately.
Changed in compiz:
milestone: none → 0.9.10.0
assignee: nobody → MC Return (mc-return)
status: New → Triaged
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.2 → 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