Skip to content

Commit

Permalink
Remove unused parameters in CommonDef.h
Browse files Browse the repository at this point in the history
These cause a compile failure when compiling with unused variable
warnings and warnings-as-errors enabled.
  • Loading branch information
georges-arm committed Nov 13, 2024
1 parent da540e6 commit 8b837be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Lib/CommonLib/CommonDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ struct ClpRng
struct ClpRngs : public ClpRng
{
// bitdepth has to be the same for all channels
const ClpRng& operator[] ( const ComponentID compID ) const { return *this; }
const ClpRng& operator[] ( const int compID ) const { return *this; }
const ClpRng& operator[] ( const ComponentID /*compID*/ ) const { return *this; }
const ClpRng& operator[] ( const int /*compID*/ ) const { return *this; }
//const ClpRng& operator[] ( const ComponentID compId ) const { return comp[compId]; }
//ClpRng comp[MAX_NUM_COMP]; ///< the bit depth as indicated in the SPS
};
Expand Down

0 comments on commit 8b837be

Please sign in to comment.