From 9607098926e253c5f430a422b3b64d346891e557 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 16 Jan 2001 09:45:03 +0000 Subject: [PATCH] exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change. * libsupc++/exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change. From-SVN: r39063 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/libsupc++/exception_support.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 68a52ed987d..6e5468b4b46 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-01-16 Nathan Sidwell + + * libsupc++/exception_support.cc (__cp_pop_exception): Fix + uninitialized thinko in last change. + 2001-01-16 Mark Mitchell * libsupc++/exception_support.cc (__cp_pop_exception): Change diff --git a/libstdc++-v3/libsupc++/exception_support.cc b/libstdc++-v3/libsupc++/exception_support.cc index 771f5b483fc..1356259a509 100644 --- a/libstdc++-v3/libsupc++/exception_support.cc +++ b/libstdc++-v3/libsupc++/exception_support.cc @@ -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 (p_); cp_eh_info **stack = __get_eh_info (); cp_eh_info **q = stack; -- 2.30.2