From ea09f44ce71fc390fcb444842923f3c8b78680e6 Mon Sep 17 00:00:00 2001 From: Pekka Pirinen Date: Wed, 23 Aug 2000 17:55:27 +0100 Subject: [PATCH] Fix warnings Copied from Perforce Change: 21469 ServerID: perforce.ravenbrook.com --- mps/qa/function/129.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mps/qa/function/129.c b/mps/qa/function/129.c index 4cc3810fc0d..a6ebc663b53 100644 --- a/mps/qa/function/129.c +++ b/mps/qa/function/129.c @@ -1,6 +1,6 @@ /* TEST_HEADER - id = $HopeName$ + id = $HopeName: MMQA_test_function!129.c(trunk.2) $ summary = test of ramp allocation with small arena language = c link = testlib.o rankfmt.o @@ -43,6 +43,7 @@ mps_ap_t apamc; static mps_addr_t objtab[TABSIZE]; + static void alloc_back(void) { long int i, j; @@ -55,11 +56,9 @@ static void alloc_back(void) { static void test(void) { long int i; - long int rsize; - + long int rsize = 0; int inramp; - - mycell *r, *s; + mycell *r = NULL, *s; cdie(mps_arena_create(&arena, mps_arena_class_vm(), (size_t) 1024*1024*ARENALIMIT), @@ -149,6 +148,7 @@ static void test(void) { comment("Destroyed space."); } + int main(void) { void *m;