diff options
Diffstat (limited to 'sal/inc/rtl/stringconcat.hxx')
-rw-r--r-- | sal/inc/rtl/stringconcat.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/rtl/stringconcat.hxx b/sal/inc/rtl/stringconcat.hxx index 9fb95680faa7..bf0244af6e77 100644 --- a/sal/inc/rtl/stringconcat.hxx +++ b/sal/inc/rtl/stringconcat.hxx @@ -128,7 +128,7 @@ struct ToStringHelper< char[ N ] > template< int N > struct ToStringHelper< const char[ N ] > { - static int length( const char str[ N ] ) { assert( strlen( str ) == N - 1 ); return N - 1; } + static int length( const char str[ N ] ) { (void)str; assert( strlen( str ) == N - 1 ); return N - 1; } static char* addData( char* buffer, const char str[ N ] ) { return addDataHelper( buffer, str, N - 1 ); } static sal_Unicode* addData( sal_Unicode* buffer, const char str[ N ] ) { return addDataLiteral( buffer, str, N - 1 ); } static const bool allowOStringConcat = true; |