1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-26 00:20:34 +01:00

Comment out unused function parameters to prevent compiler warnings in client code.

This commit is contained in:
Patrick White 2012-11-28 15:03:56 -05:00
parent 2cc47b5c02
commit 180ad81cb3
3 changed files with 25 additions and 25 deletions
Foundation/include/Poco/Dynamic
JSON/include/Poco/JSON

@ -349,67 +349,67 @@ inline const std::type_info& VarHolder::type() const
throw NotImplementedException("Not implemented: VarHolder::type()");
}
inline void VarHolder::convert(Int8& val) const
inline void VarHolder::convert(Int8& /*val*/) const
{
throw BadCastException("Can not convert to Int8");
}
inline void VarHolder::convert(Int16& val) const
inline void VarHolder::convert(Int16& /*val*/) const
{
throw BadCastException("Can not convert to Int16");
}
inline void VarHolder::convert(Int32& val) const
inline void VarHolder::convert(Int32& /*val*/) const
{
throw BadCastException("Can not convert to Int32");
}
inline void VarHolder::convert(Int64& val) const
inline void VarHolder::convert(Int64& /*val*/) const
{
throw BadCastException("Can not convert to Int64");
}
inline void VarHolder::convert(UInt8& val) const
inline void VarHolder::convert(UInt8& /*val*/) const
{
throw BadCastException("Can not convert to UInt8");
}
inline void VarHolder::convert(UInt16& val) const
inline void VarHolder::convert(UInt16& /*val*/) const
{
throw BadCastException("Can not convert to UInt16");
}
inline void VarHolder::convert(UInt32& val) const
inline void VarHolder::convert(UInt32& /*val*/) const
{
throw BadCastException("Can not convert to UInt32");
}
inline void VarHolder::convert(UInt64& val) const
inline void VarHolder::convert(UInt64& /*val*/) const
{
throw BadCastException("Can not convert to UInt64");
}
inline void VarHolder::convert(DateTime& val) const
inline void VarHolder::convert(DateTime& /*val*/) const
{
throw BadCastException("Can not convert to DateTime");
}
inline void VarHolder::convert(LocalDateTime& val) const
inline void VarHolder::convert(LocalDateTime& /*val*/) const
{
throw BadCastException("Can not convert to LocalDateTime");
}
inline void VarHolder::convert(Timestamp& val) const
inline void VarHolder::convert(Timestamp& /*val*/) const
{
throw BadCastException("Can not convert to Timestamp");
}
@ -433,31 +433,31 @@ inline void VarHolder::convert(unsigned long& val) const
#endif
inline void VarHolder::convert(bool& val) const
inline void VarHolder::convert(bool& /*val*/) const
{
throw BadCastException("Can not convert to bool");
}
inline void VarHolder::convert(float& val) const
inline void VarHolder::convert(float& /*val*/) const
{
throw BadCastException("Can not convert to float");
}
inline void VarHolder::convert(double& val) const
inline void VarHolder::convert(double& /*val*/) const
{
throw BadCastException("Can not convert to double");
}
inline void VarHolder::convert(char& val) const
inline void VarHolder::convert(char& /*val*/) const
{
throw BadCastException("Can not convert to char");
}
inline void VarHolder::convert(std::string& val) const
inline void VarHolder::convert(std::string& /*val*/) const
{
throw BadCastException("Can not convert to std::string");
}
@ -2754,17 +2754,17 @@ public:
return typeid(DateTime);
}
void convert(Int8& val) const
void convert(Int8& /*val*/) const
{
throw BadCastException();
}
void convert(Int16& val) const
void convert(Int16& /*val*/) const
{
throw BadCastException();
}
void convert(Int32& val) const
void convert(Int32& /*val*/) const
{
throw BadCastException();
}

@ -285,17 +285,17 @@ public:
s = oss.str();
}
void convert(DateTime& val) const
void convert(DateTime& /*val*/) const
{
throw BadCastException();
}
void convert(LocalDateTime& ldt) const
void convert(LocalDateTime& /*ldt*/) const
{
throw BadCastException();
}
void convert(Timestamp& ts) const
void convert(Timestamp& /*ts*/) const
{
throw BadCastException();
}

@ -289,17 +289,17 @@ public:
s = oss.str();
}
void convert(DateTime& val) const
void convert(DateTime& /*val*/) const
{
//TODO: val = _val;
}
void convert(LocalDateTime& ldt) const
void convert(LocalDateTime& /*ldt*/) const
{
//TODO: ldt = _val.timestamp();
}
void convert(Timestamp& ts) const
void convert(Timestamp& /*ts*/) const
{
//TODO: ts = _val.timestamp();
}