Changeset 8a4da06 for src/CodeGen


Ignore:
Timestamp:
Sep 11, 2015, 1:00:45 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
32a1e5fd
Parents:
4550bcf
Message:

fixed unused variable warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGenerator.cc

    r4550bcf r8a4da06  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Aug 12 14:33:52 2015
    13 // Update Count     : 222
     12// Last Modified On : Fri Sep 11 12:59:09 2015
     13// Update Count     : 223
    1414//
    1515
     
    190190                if ( designators.size() == 0 ) return;
    191191                for ( DesignatorList::iterator iter = designators.begin(); iter != designators.end(); ++iter ) {
    192                         if ( NameExpr * nm = dynamic_cast< NameExpr * >( *iter ) ) {
     192                        if ( dynamic_cast< NameExpr * >( *iter ) ) {
    193193                                // if expression is a name, then initializing aggregate member
    194194                                output << ".";
Note: See TracChangeset for help on using the changeset viewer.