Changeset 11806


Ignore:
Timestamp:
Oct 30, 2018 4:58:22 PM (14 months ago)
Author:
Jonathan Kämpe
Message:

#5670 Removed unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-1637/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenTypes.jrag

    r11777 r11806  
    195195        protected boolean external = false;
    196196        protected boolean subDecls = false; // Used in CAD
    197         boolean forceDynamic = false;
    198197       
    199198        private Stack<Level> levels   = new Stack<Level>();
     
    207206            this(p, str);
    208207            reset(name, src, s, external, indent);
    209         }
    210        
    211         public TypePrinter_C forceDynamic() {
    212             forceDynamic = true;
    213             return this;
    214208        }
    215209       
     
    261255       
    262256        protected String dynStr(FType type) {
    263             return (forceDynamic || dynamic() ? "DYNA" : "STAT");
     257            return (dynamic() ? "DYNA" : "STAT");
    264258        }
    265259       
Note: See TracChangeset for help on using the changeset viewer.