fixed multiple build warnings

This commit is contained in:
Vadim Pisarevsky
2012-09-04 14:15:00 +04:00
parent e17b70e533
commit bf7295f584
24 changed files with 62 additions and 61 deletions

View File

@@ -55,7 +55,7 @@ PreviewImageAttribute::staticTypeName ()
template <>
void
PreviewImageAttribute::writeValueTo (OStream &os, int version) const
PreviewImageAttribute::writeValueTo (OStream &os, int) const
{
Xdr::write <StreamIO> (os, _value.width());
Xdr::write <StreamIO> (os, _value.height());
@@ -75,7 +75,7 @@ PreviewImageAttribute::writeValueTo (OStream &os, int version) const
template <>
void
PreviewImageAttribute::readValueFrom (IStream &is, int size, int version)
PreviewImageAttribute::readValueFrom (IStream &is, int, int)
{
int width, height;