|
From: <sv...@va...> - 2014-12-17 13:18:58
|
Author: florian
Date: Wed Dec 17 13:18:51 2014
New Revision: 14819
Log:
Join two #ifdefs, eliminating one.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Wed Dec 17 13:18:51 2014
@@ -2666,9 +2666,6 @@
static void final_tidyup(ThreadId tid)
{
#if !defined(VGO_darwin)
-# if defined(VGP_ppc64be_linux)
- Addr r2;
-# endif
Addr __libc_freeres_wrapper = VG_(client___libc_freeres_wrapper);
vg_assert(VG_(is_running_thread)(tid));
@@ -2679,7 +2676,7 @@
return; /* can't/won't do it */
# if defined(VGP_ppc64be_linux)
- r2 = VG_(get_tocptr)( __libc_freeres_wrapper );
+ Addr r2 = VG_(get_tocptr)( __libc_freeres_wrapper );
if (r2 == 0) {
VG_(message)(Vg_UserMsg,
"Caught __NR_exit, but can't run __libc_freeres()\n");
|