war on -Werror, part 2: unused variables and dead code

This commit is contained in:
Devin J. Pohly
2012-12-26 20:35:02 -05:00
parent 1f80e3be4c
commit 7aac8c5ae3
8 changed files with 10 additions and 28 deletions
-2
View File
@@ -219,7 +219,6 @@ static void RunCrashHandler( const CrashData *crash )
/* non-fatal */
}
static int received = 0;
static int active = 0;
if( active )
@@ -250,7 +249,6 @@ static void RunCrashHandler( const CrashData *crash )
_exit( 1 );
}
active = 1;
received = getpid();
/* Stop other threads. XXX: This prints a spurious ptrace error if any threads
* are already suspended, which happens in ForceCrashHandlerDeadlock(). */