Ignore:
Timestamp:
Mar 6, 2024, 6:11:08 AM (6 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
76fe046, 7a29392f
Parents:
f6e8c67
Message:

Remove unused variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CommonType.cc

    rf6e8c67 r647d633  
    681681
    682682        void postvisit( const ast::EnumPosType * enumPos ) {
    683                 if ( auto type2AsPos = dynamic_cast<const ast::EnumPosType *>(type2) ) {
     683                if ( dynamic_cast<const ast::EnumPosType *>(type2) ) {
    684684                        // result = commonType( type2AsPos->instance, enumPos->instance, tenv, need, have, open, widen );
    685685                        result = enumPos;
    686                 } else if (  auto typeAsBasic = dynamic_cast<const ast::BasicType *>(type2) ) {
     686                } else if ( dynamic_cast<const ast::BasicType *>(type2) ) {
    687687                        result = type2;
    688688                }
Note: See TracChangeset for help on using the changeset viewer.