aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
commit93d56215df715181dba7f5275de9863f28a6c941 (patch)
treebfea01c982a361dfe8ad972cb291de3d8085a7c2 /gdb/v850-tdep.c
parent381bab78db8ce8d9a17929364bdc7901ac17e4f0 (diff)
downloadgdb-93d56215df715181dba7f5275de9863f28a6c941.zip
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.gz
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.bz2
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index fcde9c1..ceaa26f 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -356,7 +356,8 @@ v850_scan_prologue (CORE_ADDR pc, struct prologue_info *pi)
for (current_pc = func_addr; current_pc < prologue_end;)
{
- int insn, insn2;
+ int insn;
+ int insn2 = -1; /* dummy value */
#ifdef DEBUG
printf_filtered ("0x%.8lx ", (long) current_pc);