From c7e2358a8849d7540212543e1a2acbac648cb973 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 27 Jun 2010 04:07:55 +0000 Subject: fix set but unused variable warnings --- bfd/bout.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'bfd/bout.c') diff --git a/bfd/bout.c b/bfd/bout.c index ad53d8f..34c1a6b 100644 --- a/bfd/bout.c +++ b/bfd/bout.c @@ -1,6 +1,6 @@ /* BFD back-end for Intel 960 b.out binaries. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Cygnus Support. @@ -1094,7 +1094,6 @@ aligncode (bfd *abfd, unsigned int shrink) { bfd_vma dot = output_addr (input_section) + r->address; - bfd_vma gap; bfd_vma old_end; bfd_vma new_end; unsigned int shrink_delta; @@ -1110,9 +1109,6 @@ aligncode (bfd *abfd, than we used to be. */ new_end = ((dot - shrink + size) & ~size); - /* This is the new end. */ - gap = old_end - ((dot + size) & ~size); - shrink_delta = (old_end - new_end) - shrink; if (shrink_delta) -- cgit v1.1