strip names off unused parameters

This commit is contained in:
Ondřej Hošek 2012-06-30 20:04:21 +02:00
parent 2cd9ae6833
commit bf05bce351
4 changed files with 21 additions and 21 deletions

View File

@ -193,7 +193,7 @@ HLLIB_API hlBool hlGetIntegerValidate(HLOption eOption, hlInt *pValue)
return bResult;
}
HLLIB_API hlVoid hlSetInteger(HLOption eOption, hlInt iValue)
HLLIB_API hlVoid hlSetInteger(HLOption , hlInt )
{
}
@ -266,7 +266,7 @@ HLLIB_API hlBool hlGetUnsignedIntegerValidate(HLOption eOption, hlUInt *pValue)
}
}
HLLIB_API hlVoid hlSetUnsignedInteger(HLOption eOption, hlUInt iValue)
HLLIB_API hlVoid hlSetUnsignedInteger(HLOption , hlUInt )
{
}
@ -286,7 +286,7 @@ HLLIB_API hlBool hlGetLongLongValidate(HLOption eOption, hlLongLong *pValue)
return bResult;
}
HLLIB_API hlVoid hlSetLongLong(HLOption eOption, hlLongLong iValue)
HLLIB_API hlVoid hlSetLongLong(HLOption , hlLongLong )
{
}
@ -353,7 +353,7 @@ HLLIB_API hlBool hlGetUnsignedLongLongValidate(HLOption eOption, hlULongLong *pV
}
}
HLLIB_API hlVoid hlSetUnsignedLongLong(HLOption eOption, hlULongLong iValue)
HLLIB_API hlVoid hlSetUnsignedLongLong(HLOption , hlULongLong )
{
}
@ -365,12 +365,12 @@ HLLIB_API hlFloat hlGetFloat(HLOption eOption)
return fValue;
}
HLLIB_API hlBool hlGetFloatValidate(HLOption eOption, hlFloat *pValue)
HLLIB_API hlBool hlGetFloatValidate(HLOption , hlFloat *)
{
return hlFalse;
}
HLLIB_API hlVoid hlSetFloat(HLOption eOption, hlFloat fValue)
HLLIB_API hlVoid hlSetFloat(HLOption , hlFloat )
{
}
@ -406,7 +406,7 @@ HLLIB_API hlBool hlGetStringValidate(HLOption eOption, const hlChar **pValue)
}
}
HLLIB_API hlVoid hlSetString(HLOption eOption, const hlChar *lpValue)
HLLIB_API hlVoid hlSetString(HLOption , const hlChar *)
{
}

View File

@ -207,7 +207,7 @@ hlBool CMapping::Unmap(CView *&pView)
return hlFalse;
}
hlVoid CMapping::UnmapInternal(CView &View)
hlVoid CMapping::UnmapInternal(CView &)
{
}
@ -244,7 +244,7 @@ hlBool CMapping::Commit(CView &View, hlULongLong uiOffset, hlULongLong uiLength)
return this->CommitInternal(View, uiOffset, uiLength);
}
hlBool CMapping::CommitInternal(CView &View, hlULongLong uiOffset, hlULongLong uiLength)
hlBool CMapping::CommitInternal(CView &, hlULongLong , hlULongLong )
{
return hlTrue;
}

View File

@ -69,27 +69,27 @@ hlULongLong CNullStream::GetStreamPointer() const
return 0;
}
hlULongLong CNullStream::Seek(hlLongLong iOffset, HLSeekMode eSeekMode)
hlULongLong CNullStream::Seek(hlLongLong , HLSeekMode )
{
return 0;
}
hlBool CNullStream::Read(hlChar &cChar)
hlBool CNullStream::Read(hlChar &)
{
return hlFalse;
}
hlUInt CNullStream::Read(hlVoid *lpData, hlUInt uiBytes)
hlUInt CNullStream::Read(hlVoid *, hlUInt )
{
return 0;
}
hlBool CNullStream::Write(hlChar cChar)
hlBool CNullStream::Write(hlChar )
{
return hlFalse;
}
hlUInt CNullStream::Write(const hlVoid *lpData, hlUInt uiBytes)
hlUInt CNullStream::Write(const hlVoid *, hlUInt )
{
return 0;
}

View File

@ -267,12 +267,12 @@ hlUInt CPackage::GetAttributeCountInternal() const
return 0;
}
const hlChar *CPackage::GetAttributeNameInternal(HLPackageAttribute eAttribute) const
const hlChar *CPackage::GetAttributeNameInternal(HLPackageAttribute ) const
{
return 0;
}
hlBool CPackage::GetAttributeInternal(HLPackageAttribute eAttribute, HLAttribute &Attribute) const
hlBool CPackage::GetAttributeInternal(HLPackageAttribute , HLAttribute &) const
{
return hlFalse;
}
@ -315,12 +315,12 @@ hlUInt CPackage::GetItemAttributeCountInternal() const
return 0;
}
const hlChar *CPackage::GetItemAttributeNameInternal(HLPackageAttribute eAttribute) const
const hlChar *CPackage::GetItemAttributeNameInternal(HLPackageAttribute ) const
{
return 0;
}
hlBool CPackage::GetItemAttributeInternal(const CDirectoryItem *pItem, HLPackageAttribute eAttribute, HLAttribute &Attribute) const
hlBool CPackage::GetItemAttributeInternal(const CDirectoryItem *, HLPackageAttribute , HLAttribute &) const
{
return hlFalse;
}
@ -338,7 +338,7 @@ hlBool CPackage::GetFileExtractable(const CDirectoryFile *pFile, hlBool &bExtrac
return this->GetFileExtractableInternal(pFile, bExtractable);
}
hlBool CPackage::GetFileExtractableInternal(const CDirectoryFile *pFile, hlBool &bExtractable) const
hlBool CPackage::GetFileExtractableInternal(const CDirectoryFile *, hlBool &bExtractable) const
{
bExtractable = hlTrue;
return hlTrue;
@ -357,7 +357,7 @@ hlBool CPackage::GetFileValidation(const CDirectoryFile *pFile, HLValidation &eV
return this->GetFileValidationInternal(pFile, eValidation);
}
hlBool CPackage::GetFileValidationInternal(const CDirectoryFile *pFile, HLValidation &eValidation) const
hlBool CPackage::GetFileValidationInternal(const CDirectoryFile *, HLValidation &eValidation) const
{
eValidation = HL_VALIDATES_ASSUMED_OK;
return hlTrue;
@ -429,7 +429,7 @@ hlVoid CPackage::ReleaseStream(Streams::IStream *pStream) const
}
}
hlVoid CPackage::ReleaseStreamInternal(Streams::IStream &Stream) const
hlVoid CPackage::ReleaseStreamInternal(Streams::IStream &) const
{
}