diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:24:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-04-07 21:24:02 +0000 |
commit | d6ba279565aa135cfce8d622c3b82b7609eef31b (patch) | |
tree | a9f9e65c0b59c0edd4197f66162697e4ae674b23 /cpukit/score/cpu | |
parent | added include of unistd.h to eliminate warning for no prototype for write(). (diff) | |
download | rtems-d6ba279565aa135cfce8d622c3b82b7609eef31b.tar.bz2 |
added initialization of variable to eliminate warning.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/unix/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/unix/cpu.c b/cpukit/score/cpu/unix/cpu.c index 7a52c1b78b..ffa5a1385c 100644 --- a/cpukit/score/cpu/unix/cpu.c +++ b/cpukit/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")) |