touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #03813
[Bug 937588] Re: Coverity PW.PARAMETER_HIDDEN - CID 10653
** Changed in: unity (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/937588
Title:
Coverity PW.PARAMETER_HIDDEN - CID 10653
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: 10653
Checker: PW.PARAMETER_HIDDEN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/nux-2.4.0/NuxGraphics/GLTextureResourceManager.cpp
Function: No function name available
Code snippet:
834 // const BYTE* Src = _image.GetSurface(MipIndex, slice).GetPtrRawData();
835 // int RowByteSize = _image.GetSurface(MipIndex, slice).GetPitch();
836 // int NumRows = _image.GetSurface(MipIndex, slice).GetBlockHeight();
837
CID 10653 - PW.PARAMETER_HIDDEN
declaration hides parameter "slice" (declared at line 831)
838 for (int slice = 0; slice < ImageSurface::GetLevelDim(_image.GetFormat(), _image.GetDepth(), MipIndex); slice++)
839 {
840 const BYTE *Src = _image.GetSurface(MipIndex, slice).GetPtrRawData();
841 int RowByteSize = _image.GetSurface(MipIndex, slice).GetPitch();
842 int NumRows = _image.GetSurface(MipIndex, slice).GetBlockHeight();
843
To manage notifications about this bug go to:
https://bugs.launchpad.net/nux/+bug/937588/+subscriptions