@@ -658,7 +658,7 @@ class type : public memento
658658
659659 virtual bool is_same_type_as (type *other)
660660 {
661- if ((is_int () && other->is_int () || is_float () && other->is_float ())
661+ if ((( is_int () && other->is_int ()) || ( is_float () && other->is_float () ))
662662 && get_size () == other->get_size ()
663663 && is_signed () == other->is_signed ())
664664 {
@@ -2290,7 +2290,7 @@ class array_access : public lvalue
22902290
22912291 void replay_into (replayer *r) final override ;
22922292
2293- void set_name (const char *new_name ) final override {
2293+ void set_name (const char *) final override {
22942294 m_ctxt->add_error (NULL , " cannot change the name of type `array_access`" );
22952295 }
22962296
@@ -2355,7 +2355,7 @@ class vector_access : public lvalue
23552355
23562356 void visit_children (rvalue_visitor *v) final override ;
23572357
2358- void set_name (const char *new_name ) final override {
2358+ void set_name (const char *) final override {
23592359 m_ctxt->add_error (NULL , " cannot change the name of type `vector_access`" );
23602360 }
23612361
@@ -2388,7 +2388,7 @@ class access_field_of_lvalue : public lvalue
23882388
23892389 void visit_children (rvalue_visitor *v) final override ;
23902390
2391- void set_name (const char *new_name ) final override {
2391+ void set_name (const char *) final override {
23922392 m_ctxt->add_error (
23932393 NULL , " cannot change the name of type `access_field_of_lvalue`" );
23942394 }
@@ -2451,7 +2451,7 @@ class dereference_field_rvalue : public lvalue
24512451
24522452 void visit_children (rvalue_visitor *v) final override ;
24532453
2454- void set_name (const char *new_name ) final override {
2454+ void set_name (const char *) final override {
24552455 m_ctxt->add_error (
24562456 NULL , " cannot change the name of type `dereference_field_rvalue`" );
24572457 }
@@ -2482,7 +2482,7 @@ class dereference_rvalue : public lvalue
24822482
24832483 void visit_children (rvalue_visitor *v) final override ;
24842484
2485- void set_name (const char *new_name ) final override {
2485+ void set_name (const char *) final override {
24862486 m_ctxt->add_error (
24872487 NULL , " cannot change the name of type `dereference_rvalue`" );
24882488 }
0 commit comments