diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-21 15:21:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-21 15:21:16 +0100 |
commit | 7c704c78d3c652504c064b4ac7af55a2c1ee49bb (patch) | |
tree | 623358cf25839219ef4fd90eea4f3eaa55389a1f /autodoc/inc/ary_i | |
parent | Fix Possible inefficient checking for 'aChrSetArr' emptiness (diff) | |
download | core-7c704c78d3c652504c064b4ac7af55a2c1ee49bb.tar.gz core-7c704c78d3c652504c064b4ac7af55a2c1ee49bb.zip |
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.
Diffstat (limited to 'autodoc/inc/ary_i')
-rw-r--r-- | autodoc/inc/ary_i/d_token.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/autodoc/inc/ary_i/d_token.hxx b/autodoc/inc/ary_i/d_token.hxx index dd1133658086..7247de6e9038 100644 --- a/autodoc/inc/ary_i/d_token.hxx +++ b/autodoc/inc/ary_i/d_token.hxx @@ -116,8 +116,7 @@ class DT_MLTag : public DT_Dsapi class DT_MupType : public DT_MLTag { public: - explicit DT_MupType( /// Constructor for End-Tag - bool ) /// Must be there, but is not evaluated. + explicit DT_MupType() /// Constructor for End-Tag : bIsBegin(false) {} explicit DT_MupType( /// Constructor for Begin-Tag const String & i_sScope ) @@ -138,8 +137,7 @@ class DT_MupType : public DT_MLTag class DT_MupMember : public DT_MLTag { public: - explicit DT_MupMember( /// Constructor for End-Tag - bool ) /// Must be there, but is not evaluated. + explicit DT_MupMember() /// Constructor for End-Tag : bIsBegin(false) {} DT_MupMember( /// Constructor for Begin-Tag const String & i_sScope ) |