aboutsummaryrefslogtreecommitdiff
path: root/gdb/scm-exp.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
committerFred Fish <fnf@specifix.com>1996-08-13 04:27:08 +0000
commitc1d58bcded631ca0b325d3a10156d8727a029337 (patch)
treec460ad5019408e2130b9b77a71d30cea3d7f2eec /gdb/scm-exp.c
parentc6cffcf8b46fd0b6282a5eac7843dd4720f54257 (diff)
downloadgdb-c1d58bcded631ca0b325d3a10156d8727a029337.zip
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.gz
gdb-c1d58bcded631ca0b325d3a10156d8727a029337.tar.bz2
* remote-pa.c (boot_board): Add dummy params to make type compatible
for passing to add_com. * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized. * buildsym.c (compare_line_numbers): Change function to match prototype and also what qsort expects.
Diffstat (limited to 'gdb/scm-exp.c')
-rw-r--r--gdb/scm-exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/scm-exp.c b/gdb/scm-exp.c
index 70e7191..6399563 100644
--- a/gdb/scm-exp.c
+++ b/gdb/scm-exp.c
@@ -230,7 +230,7 @@ scm_lreadr (skipping)
{
int c, j;
struct stoken str;
- LONGEST svalue;
+ LONGEST svalue = 0;
tryagain:
c = *lexptr++;
switch (c)