Get rid of some dead code in reader_yaml.cc
This commit is contained in:
		
							parent
							
								
									0ab3e17467
								
							
						
					
					
						commit
						1e73d839f3
					
				
					 1 changed files with 0 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -24,44 +24,6 @@
 | 
			
		|||
#include "logModule.hh"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if 0
 | 
			
		||||
struct ObjectParser
 | 
			
		||||
    : public Parser
 | 
			
		||||
{
 | 
			
		||||
    ObjectParser(Scene& scene, ParserStack& parsers)
 | 
			
		||||
        : Parser(scene, parsers),
 | 
			
		||||
          mSection(NoSection)
 | 
			
		||||
    {
 | 
			
		||||
        printf("ObjectParser\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ~ObjectParser()
 | 
			
		||||
    {
 | 
			
		||||
        printf("~ObjectParser\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void
 | 
			
		||||
    handle_event(yaml_event_t& event)
 | 
			
		||||
    {
 | 
			
		||||
        switch (mSection) {
 | 
			
		||||
            case NoSection:
 | 
			
		||||
                break;
 | 
			
		||||
            case TypeSection:
 | 
			
		||||
                break;
 | 
			
		||||
            case OriginSection:
 | 
			
		||||
                break;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    enum {
 | 
			
		||||
        NoSection,
 | 
			
		||||
        TypeSection,
 | 
			
		||||
        OriginSection,
 | 
			
		||||
    } mSection;
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
namespace charles {
 | 
			
		||||
 | 
			
		||||
ssize_t
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue