summaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
authorbiouman <>2001-03-05 14:50:18 +0000
committerbiouman <>2001-03-05 14:50:18 +0000
commitcd61178eb1d3b9182f4fcb64cc8eee61971405a8 (patch)
treee0c0cd481749e2b8327cfb89c0fdb24a53fe935b /src/test.cc
parentdeb75e32768c82d2945427d558f73c64c4c2f72d (diff)
Bug en moins
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test.cc b/src/test.cc
index 48d7762..fec7131 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -59,7 +59,7 @@ void FullTest(void)
{
PriorityList *T;
Datas_t Datas;
- Cell C1, C2, C3;
+ Cell C1, C2, C3 = NULL;
Key_t K;
int i;
@@ -91,6 +91,8 @@ void FullTest(void)
C1 = T->Insert(N[i], NULL);
if (N[i] == 30) C3 = C1;
}
+
+ if (!C3) exit(-1);
fprintf(stderr, "59 54 -10\n");
C1 = T->Insert(59, NULL);