diff options
author | Roland McGrath <roland@redhat.com> | 2011-02-08 11:20:49 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2011-02-08 11:20:49 -0800 |
commit | 7094d00a169afb27e0323f8580e817798ae7c240 (patch) | |
tree | ef407086f40c0f007e325c6d5300a032cd783668 /libasm | |
parent | f339cd6e1d5f429c3dc99079b9796ad24a3307c0 (diff) |
libasm: Remove an unused variable.
Diffstat (limited to 'libasm')
-rw-r--r-- | libasm/ChangeLog | 4 | ||||
-rw-r--r-- | libasm/asm_newscn.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog index ef31dbb2..f9a863df 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,7 @@ +2011-02-08 Roland McGrath <roland@redhat.com> + + * asm_newscn.c (asm_newscn): Remove unused variable. + 2010-02-15 Roland McGrath <roland@redhat.com> * Makefile.am: Use config/eu.am for common stuff. diff --git a/libasm/asm_newscn.c b/libasm/asm_newscn.c index 8a5e78b5..dd48d2b2 100644 --- a/libasm/asm_newscn.c +++ b/libasm/asm_newscn.c @@ -1,5 +1,5 @@ /* Create new section in output file. - Copyright (C) 2002, 2005 Red Hat, Inc. + Copyright (C) 2002-2011 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -162,7 +162,6 @@ asm_newscn (ctx, scnname, type, flags) GElf_Xword flags; { size_t scnname_len = strlen (scnname) + 1; - unsigned long int hval; AsmScn_t *result; /* If no context is given there might be an earlier error. */ @@ -180,8 +179,6 @@ asm_newscn (ctx, scnname, type, flags) return NULL; } - hval = elf_hash (scnname); - rwlock_wrlock (ctx->lock); /* This is a new section. */ |