1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-06 06:11:42 -07:00

Fix uninit var

Copied from Perforce
 Change: 21200
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Pekka Pirinen 2000-05-17 15:14:29 +01:00
parent b0ec417cc0
commit d71facd369

View file

@ -1,6 +1,6 @@
/*
TEST_HEADER
id = $HopeName$
id = $HopeName: MMQA_test_function!83.c(trunk.2) $
summary = test for bug with segment summaries
language = c
link = testlib.o awlfmt.o
@ -8,13 +8,11 @@ END_HEADER
*/
/*
This bug, suggested by drj, turned out not to exist. The problem
would have occurred when a nailed, buffered segment was scanned,
and the summary would be wrongly set. But in fact all buffered
and the summary would be wrongly set. But in fact all buffered
segments are scanned in their entirety anyway, so no problem
arises.
*/
#include "testlib.h"
@ -22,10 +20,12 @@ arises.
#include "mpscawl.h"
#include "awlfmt.h"
void *stackpointer;
mps_addr_t temp_root;
static void test(void)
{
mps_space_t space;
@ -36,7 +36,7 @@ static void test(void)
mps_fmt_t format;
mps_ap_t ap1, ap2, ap;
mycell *a, *b, *c, *d;
mycell *a, *b = NULL, *c, *d;
int i;
@ -124,9 +124,9 @@ static void test(void)
mps_space_destroy(space);
comment("Destroyed space.");
}
int main(void)
{
void *m;