war on -Werror, part 8: more informals.
General guide: if the parameter name and its typings match almost exactly, the name goes away. Otherwise, it's commented out to allow for some documentation.
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
RageFileObjInflate( const RageFileObjInflate &cpy );
|
||||
~RageFileObjInflate();
|
||||
int ReadInternal( void *pBuffer, size_t iBytes );
|
||||
int WriteInternal( const void *pBuffer, size_t iBytes ) { SetError( "Not implemented" ); return -1; }
|
||||
int WriteInternal( const void * /* pBuffer */, size_t /* iBytes */ ) { SetError( "Not implemented" ); return -1; }
|
||||
int SeekInternal( int iOffset );
|
||||
int GetFileSize() const { return m_iUncompressedSize; }
|
||||
int GetFD() { return m_pFile->GetFD(); }
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
void DeleteFileWhenFinished() { m_bFileOwned = true; }
|
||||
|
||||
protected:
|
||||
int ReadInternal( void *pBuffer, size_t iBytes ) { SetError( "Not implemented" ); return -1; }
|
||||
int ReadInternal( void * /* pBuffer */, size_t /* iBytes */ ) { SetError( "Not implemented" ); return -1; }
|
||||
int WriteInternal( const void *pBuffer, size_t iBytes );
|
||||
int FlushInternal();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user