← Back to team overview

desktop-packages team mailing list archive

[Bug 1101585] Re: Coverity PW.PARAMETER_HIDDEN - CID 12485 - plugins/switcher/src/switcher.cpp - declaration hides parameter "w" (declared at line 462) -> 537 foreach (CompWindow *w, windows)

 

** Changed in: compiz
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1101585

Title:
  Coverity PW.PARAMETER_HIDDEN - CID 12485 -
  plugins/switcher/src/switcher.cpp - declaration hides parameter "w"
  (declared at line 462) -> 537 foreach (CompWindow *w, windows)

Status in Compiz:
  Fix Released
Status in Compiz 0.9.9 series:
  Won't Fix
Status in compiz package in Ubuntu:
  Fix Released

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: 12485
  Checker: PW.PARAMETER_HIDDEN
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/compiz-0.9.9~daily13.01.14/plugins/switcher/src/switcher.cpp
  Function: No function name available
  Code snippet:
  533 	updateWindowList (count);
  534 
  535 	allWindowsWidth = windows.size () * WIDTH;
  536 
  CID 12485 - PW.PARAMETER_HIDDEN
  declaration hides parameter "w" (declared at line 462)
  537 	foreach (CompWindow *w, windows)
  538 	{
  539 	    selectedWindow = w;
  540 
  541 	    if (selectedWindow == selected)
  542 		break;

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1101585/+subscriptions