From d6ba279565aa135cfce8d622c3b82b7609eef31b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:24:02 +0000 Subject: added initialization of variable to eliminate warning. --- c/src/exec/score/cpu/unix/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/exec/score/cpu/unix/cpu.c') diff --git a/c/src/exec/score/cpu/unix/cpu.c b/c/src/exec/score/cpu/unix/cpu.c index 7a52c1b78b..ffa5a1385c 100644 --- a/c/src/exec/score/cpu/unix/cpu.c +++ b/c/src/exec/score/cpu/unix/cpu.c @@ -817,7 +817,7 @@ void _CPU_SHM_Init( char *shm_addr; key_t shm_key; key_t sem_key; - int status; + int status = 0; /* to avoid unitialized warnings */ int shm_size; if (getenv("RTEMS_SHM_KEY")) -- cgit v1.2.3