diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f4a435ad496b34a5ce0b569cbe0b1da929349a9e..fd9c62c39cf3ec4c9d4599869d58fb9859180e2f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
+	PR middle-end/25457
+	* reorg.c (mostly_true_jump): Remove unused variable 'insn'.
+
 	PR target/25447
 	* config/pa/pa.c (pa_scalar_mode_supported_p): Handle
 	MODE_DECIMAL_FLOAT.
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 104ad8e467f559265571642bfb857f19b7d1e831..431ef3c116eda91dc1956d0f0e389eebd5e9835d 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -963,7 +963,7 @@ static int
 mostly_true_jump (rtx jump_insn, rtx condition)
 {
   rtx target_label = JUMP_LABEL (jump_insn);
-  rtx insn, note;
+  rtx note;
   int rare_dest, rare_fallthrough;
 
   /* If branch probabilities are available, then use that number since it