Source

libyaml / tests / run-dumper.c

Diff from to

tests/run-dumper.c

 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
-#include <string.h>
 
 #define BUFFER_SIZE 65536
 #define MAX_DOCUMENTS  16
                             document2, node2->data.mapping.pairs.start[k].value)) return 0;
             }
             break;
-
+        default:
+            assert(0);
+            break;
     }
     return 1;
 }