[Libreoffice-commits] .: bridges/source
Tor Lillqvist
tml at kemper.freedesktop.org
Sun Apr 22 10:27:23 PDT 2012
bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e0be9a035a82131628ad07ae05be8bf322730f66
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Apr 22 20:11:30 2012 +0300
WaE: variable 'stackptr' is uninitialized when used
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
index c9fd510..8f397d9 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
@@ -80,7 +80,7 @@ void callVirtualMethod(
if (! pAdjustedThisPtr) CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something
volatile long edx = 0, eax = 0; // for register returns
- void * stackptr;
+ void * stackptr = 0;
asm volatile (
"mov %%esp, %6\n\t"
"mov %0, %%eax\n\t"
More information about the Libreoffice-commits
mailing list