summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-22 20:11:30 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-22 20:11:30 +0300
commite0be9a035a82131628ad07ae05be8bf322730f66 (patch)
tree0d56ef1daf0627b025b309943c26a082a47bae32 /bridges
parent8c1e9c7dfdc17b156931bbbe42851c08c7281be5 (diff)
WaE: variable 'stackptr' is uninitialized when used
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_macosx_intel/uno2cpp.cxx
index c9fd510a461f..8f397d9e91e9 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"