aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 15:58:48 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 15:58:48 +0000
commit89ce0c8f50b02eecbb87ad6246299fd214724846 (patch)
tree74740b5ad2238c6d62afbed66c688b4c70abb4c7 /gdb/symtab.c
parent27ed24c3649226227ff66f8ba53b4966ffd20c86 (diff)
downloadgdb-89ce0c8f50b02eecbb87ad6246299fd214724846.zip
gdb-89ce0c8f50b02eecbb87ad6246299fd214724846.tar.gz
gdb-89ce0c8f50b02eecbb87ad6246299fd214724846.tar.bz2
gcc -Wall lint:
* thread.c: Include "gdbcmd.h" and <ctype.h>. * Makefile.in: Update dependency. * thread.c (thread_command): Remove unused variable p. * values.c (unpack_double): Use len instead of TYPE_LENGTH (type). * valprint.c (print_floating): Correctly check sign bit now that we are using unsigned arithmetic. * symtab.c (find_pc_line_range): Remove unused variables exact_match, ind, and l.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 582ca04..2dcc877 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1284,9 +1284,6 @@ find_line_pc_range (sal, startptr, endptr)
struct symtab_and_line sal;
CORE_ADDR *startptr, *endptr;
{
- struct linetable *l;
- int ind;
- int exact_match; /* did we get an exact linenumber match */
CORE_ADDR startaddr;
struct symtab_and_line found_sal;