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

Bug #957590 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: 10886
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:
 57 /**
 58 * Returns a readonly x, y, z or w value by using
 59 * 0, 1, 2, 3 as array-access items
 60 */
CID 10886 - 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'
 61 const float operator[] (int item) const;
 62
 63 /**
 64 * Returns a readonly x, y, z or w value by using
 65 * x, y, z, w as array-access items
 66 */

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 10886
+ Coverity PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE - CID 10886 -
+ 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:
status: New → Triaged
importance: Medium → Low
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.