aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-06-29 17:21:30 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-06-29 17:21:30 +0000
commitd0902cd14bd55a38e0a049e885df3647ecbe3aee (patch)
treef0bbe0422f2bd657e8c18ddc65f1585b78415bc2
parent174be1b32cc4cd945ef936a2a3e137bcb91005ae (diff)
downloadgcc-d0902cd14bd55a38e0a049e885df3647ecbe3aee.zip
gcc-d0902cd14bd55a38e0a049e885df3647ecbe3aee.tar.gz
gcc-d0902cd14bd55a38e0a049e885df3647ecbe3aee.tar.bz2
Warning fixes:
* except.c (build_eh_type_type_ref): Remove unused variable `susp'. (process_start_catch_block): Likewise for variables `false_label_rtx', `call_rtx' and `return_value_rtx'. From-SVN: r20800
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/except.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index edc78a5..f44d3ab 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jun 29 20:17:40 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * except.c (build_eh_type_type_ref): Remove unused variable `susp'.
+ (process_start_catch_block): Likewise for variables
+ `false_label_rtx', `call_rtx' and `return_value_rtx'.
+
1998-06-29 Brendan Kehoe <brendan@cygnus.com>
* tree.c (build_srcloc): Make sure we allocate this node on the
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 4139dfd..bc5379a 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -424,7 +424,6 @@ build_eh_type_type_ref (type)
{
char *typestring;
tree exp;
- int susp;
if (type == error_mark_node)
return error_mark_node;
@@ -728,7 +727,6 @@ static void
process_start_catch_block (declspecs, declarator)
tree declspecs, declarator;
{
- rtx false_label_rtx;
tree decl = NULL_TREE;
tree init;
@@ -758,7 +756,6 @@ process_start_catch_block (declspecs, declarator)
if (decl)
{
tree exp;
- rtx call_rtx, return_value_rtx;
tree init_type;
/* Make sure we mark the catch param as used, otherwise we'll get