← Back to team overview

dx-packages team mailing list archive

[Bug 937576] Re: Coverity PW.PARAMETER_HIDDEN - CID 10651

 

** Changed in: unity (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to nux in Ubuntu.
Matching subscriptions: dx-packages, dx-packages
https://bugs.launchpad.net/bugs/937576

Title:
  Coverity PW.PARAMETER_HIDDEN - CID 10651

Status in Nux:
  Fix Released
Status in Nux 2.0 series:
  Fix Committed
Status in Nux 4.0 series:
  Fix Released
Status in Unity:
  Fix Released
Status in “nux” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity” source package in Precise:
  New

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: 10651
  Checker: PW.PARAMETER_HIDDEN
  Category: No category available
  CWE definition: No definition available
  File: /tmp/buildd/nux-2.4.0/Nux/AnimatedTextureArea.cpp
  Function: No function name available
  Code snippet:
   76     m_UserTexture = Texture;
   77 
   78     if (m_UserTexture)
   79     {
  CID 10651 - PW.PARAMETER_HIDDEN
  declaration hides parameter "Texture" (declared at line 74)
   80       ObjectPtr< CachedTextureFrameAnimation > Texture = GetGraphicsDisplay()->GetGraphicsEngine()->CacheResource(m_UserTexture);
   81       ObjectPtr<IOpenGLAnimatedTexture> AnimatedTexture = Texture->m_Texture; //Texture->m_Texture.CastRef<IOpenGLAnimatedTexture>();
   82       ObjectPtr<IOpenGLBaseTexture> Texture2D = Texture->m_Texture; //Texture->m_Texture.CastRef<IOpenGLAnimatedTexture>();
   83 
   84       AnimatedTexture->SetFiltering(GL_LINEAR, GL_LINEAR);
   85       AnimatedTexture->SetWrap(GL_CLAMP, GL_CLAMP, GL_CLAMP);

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