summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/unix/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:24:02 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:24:02 +0000
commitd6ba279565aa135cfce8d622c3b82b7609eef31b (patch)
treea9f9e65c0b59c0edd4197f66162697e4ae674b23 /c/src/exec/score/cpu/unix/cpu.c
parentadded include of unistd.h to eliminate warning for no prototype for write(). (diff)
downloadrtems-d6ba279565aa135cfce8d622c3b82b7609eef31b.tar.bz2
added initialization of variable to eliminate warning.
Diffstat (limited to 'c/src/exec/score/cpu/unix/cpu.c')
-rw-r--r--c/src/exec/score/cpu/unix/cpu.c2
1 files changed, 1 insertions, 1 deletions
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"))