← Back to team overview

desktop-packages team mailing list archive

[Bug 957600] Re: Coverity PW.PARAMETER_HIDDEN - CID 10012 - gtk/window-decorator/decorator.c - Window win = d->button_windows[i].window; declaration hides parameter "win" (declared at line 232)

 

** Changed in: compiz
       Status: In Progress => Fix Committed

-- 
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/957600

Title:
  Coverity PW.PARAMETER_HIDDEN - CID 10012 - gtk/window-
  decorator/decorator.c - Window win = d->button_windows[i].window;
  declaration hides parameter "win" (declared at line 232)

Status in Compiz:
  Fix Committed
Status in Compiz Core:
  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: 10012
  Checker: PW.PARAMETER_HIDDEN
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/compiz-0.9.7.0~bzr3025/gtk/window-decorator/decorator.c
  Function: No function name available
  Code snippet:
  386 	else if (!d->frame_window &&
  387 		 (*theme_get_button_position) (d, i, width, height,
  388 					       &x, &y, &w, &h))
  389 	{
  CID 10012 - PW.PARAMETER_HIDDEN
  declaration hides parameter "win" (declared at line 232)
  390 	    Window win = d->button_windows[i].window;
  391 	    XMapWindow (xdisplay, win);
  392 	    XMoveResizeWindow (xdisplay, win, x, y, w, h);
  393 
  394 	    BoxPtr box = &d->button_windows[i].pos;
  395 	    box->x1  = x;

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