Silence -Werror,-Wuninitialized

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 18 December 2019 17:10 EST

...as seen with "Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)", warning about functionIndex, vtableOffset, and indirectRet being used "uninitialized" (but which is as intended, carrying over the values those registers have upon entry to the function)

Change-Id: I443fe2e8bf7c25a5bd2bfd99c245d430be65f445 Reviewed-on: https://gerrit.libreoffice.org/85400

23b384ee3b0e Silence -Werror,-Wuninitialized
bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx | 1 +
1 file changed, 1 insertion(+)

Upstream: cgit.freedesktop.org


  • Share