Changeset f1149ac


Ignore:
Timestamp:
Feb 26, 2024, 2:54:44 PM (3 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
00eaeb8, bc61563
Parents:
3f9a8d0
Message:

Remove unused variables

Location:
src/ResolvExpr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CommonType.cc

    r3f9a8d0 rf1149ac  
    398398                                }
    399399                        }
    400                 } else if ( const ast::EnumPosType * pos = dynamic_cast< const ast::EnumPosType * >( type2 ) ) {
     400                } else if ( dynamic_cast< const ast::EnumPosType * >( type2 ) ) {
    401401                        ast::BasicType::Kind kind = commonTypes[ basic->kind ][ ast::BasicType::SignedInt ];
    402402                        if (
  • src/ResolvExpr/Unify.cc

    r3f9a8d0 rf1149ac  
    517517                }
    518518
    519                 void postvisit( const ast::EnumPosType * posType ) {
     519                void postvisit( const ast::EnumPosType * ) {
    520520                        // Does nothing for now. Handled in ReplacePseudoFunc
    521521                        // Might move here in the future
Note: See TracChangeset for help on using the changeset viewer.