summaryrefslogtreecommitdiff
path: root/gcc/ch/parse.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-15 07:04:49 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-15 07:04:49 +0000
commit752f19324f2a53e6cb5de0a10627f6e879f12543 (patch)
tree38b37e10ac3ee442c452c75d9c8ccb155ae5480e /gcc/ch/parse.c
parentfa10a26da48b7fd5598dc7b9166799bf79ed5899 (diff)
downloadgcc-752f19324f2a53e6cb5de0a10627f6e879f12543.tar.gz
Warning fixes:
* expr.c (build_chill_card): Use &&, not &, when comparing truth values. * parse.c (parse_spec_module): Remove unused variable `module_name', but preserve function call from initialization. (parse_operand6): Mark variable `location' with ATTRIBUTE_UNUSED. * inout.c (init_text_location): Remove unused variable `textlength'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23106 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch/parse.c')
-rw-r--r--gcc/ch/parse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ch/parse.c b/gcc/ch/parse.c
index 7a9ae3dbfa9..bd9304cc6b5 100644
--- a/gcc/ch/parse.c
+++ b/gcc/ch/parse.c
@@ -544,8 +544,9 @@ static void
parse_spec_module (label)
tree label;
{
- tree module_name = push_module (set_module_name (label), 1);
int save_ignoring = ignoring;
+
+ push_module (set_module_name (label), 1);
ignoring = pass == 2;
FORWARD_TOKEN(); /* SKIP SPEC */
expect (MODULE, "expected 'MODULE' here");
@@ -3144,7 +3145,7 @@ parse_operand6 ()
{
if (check_token (RECEIVE))
{
- tree location = parse_primval ();
+ tree location ATTRIBUTE_UNUSED = parse_primval ();
sorry ("RECEIVE expression");
return integer_one_node;
}