Avoid warnings about unused Char4
Change-Id: Ibcb256552ee03b14a76463be3d9b7ce53213fa7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100124 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
8605d47f15
commit
41723365f6
1 changed files with 6 additions and 5 deletions
|
@ -133,11 +133,6 @@ struct Char3 : public Char2
|
|||
{
|
||||
char c3 CPPU_GCC3_ALIGN( Char2 );
|
||||
};
|
||||
struct Char4
|
||||
{
|
||||
Char3 chars;
|
||||
char c;
|
||||
};
|
||||
enum Enum
|
||||
{
|
||||
v = SAL_MAX_ENUM
|
||||
|
@ -258,6 +253,12 @@ static_assert(sizeof(second) == sizeof(int), "sizeof(second) != sizeof(int)");
|
|||
|
||||
#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG
|
||||
|
||||
struct Char4
|
||||
{
|
||||
Char3 chars;
|
||||
char c;
|
||||
};
|
||||
|
||||
#define OFFSET_OF( s, m ) reinterpret_cast< size_t >(reinterpret_cast<char *>(&reinterpret_cast<s *>(16)->m) -16)
|
||||
|
||||
class BinaryCompatible_Impl
|
||||
|
|
Loading…
Reference in a new issue