@@ -666,7 +666,7 @@ class type : public memento
666666
667667 virtual bool is_same_type_as (type *other)
668668 {
669- if ((is_int () && other->is_int () || is_float () && other->is_float ())
669+ if ((( is_int () && other->is_int ()) || ( is_float () && other->is_float () ))
670670 && get_size () == other->get_size ()
671671 && is_signed () == other->is_signed ())
672672 {
@@ -2298,7 +2298,7 @@ class array_access : public lvalue
22982298
22992299 void replay_into (replayer *r) final override ;
23002300
2301- void set_name (const char *new_name ) final override {
2301+ void set_name (const char *) final override {
23022302 m_ctxt->add_error (NULL , " cannot change the name of type `array_access`" );
23032303 }
23042304
@@ -2363,7 +2363,7 @@ class vector_access : public lvalue
23632363
23642364 void visit_children (rvalue_visitor *v) final override ;
23652365
2366- void set_name (const char *new_name ) final override {
2366+ void set_name (const char *) final override {
23672367 m_ctxt->add_error (NULL , " cannot change the name of type `vector_access`" );
23682368 }
23692369
@@ -2396,7 +2396,7 @@ class access_field_of_lvalue : public lvalue
23962396
23972397 void visit_children (rvalue_visitor *v) final override ;
23982398
2399- void set_name (const char *new_name ) final override {
2399+ void set_name (const char *) final override {
24002400 m_ctxt->add_error (
24012401 NULL , " cannot change the name of type `access_field_of_lvalue`" );
24022402 }
@@ -2459,7 +2459,7 @@ class dereference_field_rvalue : public lvalue
24592459
24602460 void visit_children (rvalue_visitor *v) final override ;
24612461
2462- void set_name (const char *new_name ) final override {
2462+ void set_name (const char *) final override {
24632463 m_ctxt->add_error (
24642464 NULL , " cannot change the name of type `dereference_field_rvalue`" );
24652465 }
@@ -2490,7 +2490,7 @@ class dereference_rvalue : public lvalue
24902490
24912491 void visit_children (rvalue_visitor *v) final override ;
24922492
2493- void set_name (const char *new_name ) final override {
2493+ void set_name (const char *) final override {
24942494 m_ctxt->add_error (
24952495 NULL , " cannot change the name of type `dereference_rvalue`" );
24962496 }
0 commit comments