Ignore:
Timestamp:
Jun 5, 2017, 11:43:18 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
7e003011
Parents:
fa21ac9
Message:

Added some attribute((unused)) where appropriate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    rfa21ac9 rb3c36f4  
    122122}
    123123
    124 void Visitor::visit( BranchStmt *branchStmt ) {
     124void Visitor::visit( __attribute__((unused)) BranchStmt *branchStmt ) {
    125125}
    126126
     
    143143}
    144144
    145 void Visitor::visit( NullStmt *nullStmt ) {
     145void Visitor::visit( __attribute__((unused)) NullStmt *nullStmt ) {
    146146}
    147147
     
    445445
    446446
    447 void Visitor::visit( Subrange *subrange ) {}
    448 
    449 
    450 void Visitor::visit( Constant *constant ) {}
     447void Visitor::visit( __attribute__((unused)) Subrange *subrange ) {}
     448
     449
     450void Visitor::visit( __attribute__((unused)) Constant *constant ) {}
    451451// Local Variables: //
    452452// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.