removed assert state


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@292 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1compiler/asn1c_out.c b/libasn1compiler/asn1c_out.c
index fb41871..ebf2fb1 100644
--- a/libasn1compiler/asn1c_out.c
+++ b/libasn1compiler/asn1c_out.c
@@ -18,9 +18,6 @@
 	switch(arg->target->target) {
 	case OT_IGNORE:
 		return 0;
-	case OT_ASSERT:
-		assert(arg->target->target != OT_ASSERT);
-		return -1;
 	default:
 		dst = &arg->target->destination[arg->target->target];
 		break;
diff --git a/libasn1compiler/asn1c_out.h b/libasn1compiler/asn1c_out.h
index 7e2abfd..4c3fc41 100644
--- a/libasn1compiler/asn1c_out.h
+++ b/libasn1compiler/asn1c_out.h
@@ -13,8 +13,7 @@
 
 typedef struct compiler_streams {
 	enum {
-		OT_IGNORE	= -1,
-		OT_ASSERT	= 0,
+		OT_IGNORE,	/* Ignore this output */
 		OT_INCLUDES,	/* #include files */
 		OT_DEPS,	/* Dependencies (other than #includes) */
 		OT_TYPE_DECLS,	/* Type declarations */
@@ -33,7 +32,7 @@
 } compiler_streams_t;
 
 static char *_compiler_stream2str[] __attribute__ ((unused))
-    = { "ASSERT", "INCLUDES", "DEPS", "TYPE-DECLS", "FUNC-DECLS", "CTABLES", "CODE", "STAT-DEFS" };
+    = { "IGNORE", "INCLUDES", "DEPS", "TYPE-DECLS", "FUNC-DECLS", "CTABLES", "CODE", "STAT-DEFS" };
 
 int asn1c_compiled_output(arg_t *arg, const char *fmt, ...);
 
@@ -53,13 +52,6 @@
 		INDENT(-1);					\
 	} while(0)
 
-#define	FLAT(code)	do {					\
-		int _il = INDENT_LEVEL;				\
-		INDENT_LEVEL = 0;				\
-		do { code; } while(0);				\
-		INDENT_LEVEL = _il;				\
-	} while(0)
-
 #define	EMBED(ev)	do {					\
 		int saved_target = arg->target->target;		\
 		REDIR(OT_TYPE_DECLS);				\