aboutsummaryrefslogtreecommitdiff
path: root/binutils/strings.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-12-04 14:38:48 +0000
committerThiemo Seufer <ths@networkno.de>2001-12-04 14:38:48 +0000
commit956cd1d64de3f4438ea16af0c3fdccf98cbf4d26 (patch)
tree7c20fa7242ac4c5c44a47d509598a8372a3a4351 /binutils/strings.c
parent956c53ee2897f62a5108ebc8833bd280ab73b68e (diff)
downloadgdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.zip
gdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.tar.gz
gdb-956cd1d64de3f4438ea16af0c3fdccf98cbf4d26.tar.bz2
* config.bfd: Remove trailing blanks.
* elf32-mips.c (gprel16_with_gp): Remove superfluous casts. * strings.c (get_char): Initialize value. * config/tc-mips.c (mips_cpreturn_offset): Better comment. (load_register): Better error message. Cast away signedness mismatches. Add casts needed for varargs. (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. Remove superfluous casts. (macro): Cast away signedness mismatches. Remove superfluous casts. (s_cpload): Fix wrong comment. (s_mips_weakext): Standardize output message. (get_number): Likewise.
Diffstat (limited to 'binutils/strings.c')
-rw-r--r--binutils/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/strings.c b/binutils/strings.c
index 89e322b..5c88175 100644
--- a/binutils/strings.c
+++ b/binutils/strings.c
@@ -421,7 +421,7 @@ get_char (stream, address, magiccount, magic)
char **magic;
{
int c, i;
- long r;
+ long r = EOF;
unsigned char buf[4];
for (i = 0; i < encoding_bytes; i++)