Skip to content
Snippets Groups Projects
Commit f7eadcf1f3c2 authored by Kirill Simonov's avatar Kirill Simonov
Browse files

Undefine the NDEBUG directive for the test programs.

parent cb65d8e87a9a
No related branches found
No related tags found
No related merge requests found
......@@ -2,4 +2,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
......@@ -5,5 +10,4 @@
#include <assert.h>
#include <string.h>
#define BUFFER_SIZE 65536
#define MAX_DOCUMENTS 16
......@@ -114,7 +118,9 @@
document2, node2->data.mapping.pairs.start[k].value)) return 0;
}
break;
default:
assert(0);
break;
}
return 1;
}
......
......@@ -2,4 +2,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
......@@ -5,5 +10,4 @@
#include <assert.h>
#include <string.h>
#define BUFFER_SIZE 65536
#define MAX_EVENTS 1024
......
......@@ -2,6 +2,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
int
......
......@@ -2,6 +2,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
int
......
......@@ -2,6 +2,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
int
......
......@@ -5,6 +5,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
/*
......
......@@ -2,6 +2,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <assert.h>
int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment