Coverity PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE - CID 10885 - plugins/opengl/include/opengl/vector.h - type qualifier on return type is meaningless

Bug #957564 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
Low
Unassigned
Compiz Core
New
Medium
Unassigned
0.9.5
New
Undecided
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: 10885
Checker: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/compiz-0.9.7.0~bzr3025/plugins/opengl/include/opengl/vector.h
Function: No function name available
Code snippet:
 63 /**
 64 * Returns a readonly x, y, z or w value by using
 65 * x, y, z, w as array-access items
 66 */
CID 10885 - PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE
type qualifier on return type is meaningless
During compilation of file '/tmp/buildd/compiz-0.9.7.0~bzr3025/plugins/opengl/src/matrix.cpp'
 67 const float operator[] (VectorCoordsEnum coord) const;
 68
 69 /**
 70 * Adds all elements in a GLVector
 71 */
 72 GLVector& operator+= (const GLVector& rhs);

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-core-0.9.5: /tmp/buildd/compiz-0.9.7.0~bzr3025/plugins/opengl/include/opengl/vector.h

Source file with Coverity annotations.

Changed in compiz-core:
importance: Undecided → Medium
Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE - CID 10885
+ Coverity PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE - CID 10885 -
+ plugins/opengl/include/opengl/vector.h - type qualifier on return type
+ is meaningless
Changed in compiz:
milestone: none → 0.9.10.0
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
importance: Medium → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.