Removed some unused parameters; added SAL_UNUSED_PARAMETER.

SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
This commit is contained in:
Stephan Bergmann
2012-01-21 15:21:16 +01:00
parent 0d5167915b
commit 7c704c78d3
424 changed files with 2217 additions and 1336 deletions

View File

@@ -380,7 +380,8 @@
namespace com { namespace sun { namespace star { namespace uno {
std::ostream & operator <<(
std::ostream & out, com::sun::star::uno::Exception const &)
std::ostream & out,
SAL_UNUSED_PARAMETER com::sun::star::uno::Exception const &)
{
return out << "<UNO exception>";
}