diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-12 15:44:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-12 19:26:51 +0300 |
commit | 21774213d4f3985e28f78949cb96f00a0acf58a9 (patch) | |
tree | c3dbde3e685372b0bad87a3f5d3029c7bd9f305a /bridges | |
parent | fa57e53c2de5afb997a096a5df9a30f4abceb7ae (diff) |
WaE: -Wuninitialized
Change-Id: Iba1849abfc9c12c38466fc4294d319a06f413b55
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx index b5a59434e31b..2d920df679f3 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp.cxx @@ -134,7 +134,10 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pRegisterReturn[0] = r0; #else register float fret asm("s0"); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wuninitialized" *(float*)pRegisterReturn = fret; +#pragma GCC diagnostic pop #endif break; case typelib_TypeClass_DOUBLE: @@ -143,7 +146,10 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pRegisterReturn[0] = r0; #else register double dret asm("d0"); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wuninitialized" *(double*)pRegisterReturn = dret; +#pragma GCC diagnostic pop #endif break; case typelib_TypeClass_STRUCT: |