exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 16 Jan 2001 09:45:03 +0000 (09:45 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 16 Jan 2001 09:45:03 +0000 (09:45 +0000)
* libsupc++/exception_support.cc (__cp_pop_exception): Fix
uninitialized thinko in last change.

From-SVN: r39063

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception_support.cc

index 68a52ed987d90c631f6c5514e1ec10ffc0afcc8f..6e5468b4b467cab27643bf5b0f3cdb87ff32bde3 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * libsupc++/exception_support.cc (__cp_pop_exception): Fix
+       uninitialized thinko in last change.
+
 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
 
        * libsupc++/exception_support.cc (__cp_pop_exception): Change
index 771f5b483fcf778d0dda32f322f602fe13f6fda9..1356259a50947be179234dc236bdeb2901c28739 100644 (file)
@@ -191,9 +191,9 @@ __cp_push_exception (void *value, void *type, cleanup_fn cleanup)
    current catch block.  */
 
 extern "C" void
-__cp_pop_exception (void* v)
+__cp_pop_exception (void* p_)
 {
-  cp_eh_info *p;
+  cp_eh_info *p = static_cast <cp_eh_info *> (p_);
   cp_eh_info **stack = __get_eh_info ();
   cp_eh_info **q = stack;