Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/FixGlobalInit.cc

    r8ca3a72 r7e003011  
    2626
    2727namespace InitTweak {
     28        namespace {
     29                const std::list<Label> noLabels;
     30        }
     31
    2832        class GlobalFixer : public Visitor {
    2933          public:
     
    125129
    126130        // only modify global variables
    127         void GlobalFixer::visit( FunctionDecl *functionDecl ) {}
    128         void GlobalFixer::visit( StructDecl *aggregateDecl ) {}
    129         void GlobalFixer::visit( UnionDecl *aggregateDecl ) {}
    130         void GlobalFixer::visit( EnumDecl *aggregateDecl ) {}
    131         void GlobalFixer::visit( TraitDecl *aggregateDecl ) {}
    132         void GlobalFixer::visit( TypeDecl *typeDecl ) {}
     131        void GlobalFixer::visit( __attribute__((unused)) FunctionDecl *functionDecl ) {}
     132        void GlobalFixer::visit( __attribute__((unused)) StructDecl *aggregateDecl ) {}
     133        void GlobalFixer::visit( __attribute__((unused)) UnionDecl *aggregateDecl ) {}
     134        void GlobalFixer::visit( __attribute__((unused)) EnumDecl *aggregateDecl ) {}
     135        void GlobalFixer::visit( __attribute__((unused)) TraitDecl *aggregateDecl ) {}
     136        void GlobalFixer::visit( __attribute__((unused)) TypeDecl *typeDecl ) {}
    133137
    134138} // namespace InitTweak
Note: See TracChangeset for help on using the changeset viewer.