Changeset d6ba279 in rtems


Ignore:
Timestamp:
Apr 7, 1997, 9:24:02 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
759a9d9
Parents:
0b50855
Message:

added initialization of variable to eliminate warning.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/unix/cpu.c

    r0b50855 rd6ba279  
    818818  key_t        shm_key;
    819819  key_t        sem_key;
    820   int          status;
     820  int          status = 0;  /* to avoid unitialized warnings */
    821821  int          shm_size;
    822822
  • c/src/lib/libbsp/i960/cvme961/include/bsp.h

    r0b50855 rd6ba279  
    6363#define delay( microseconds ) \
    6464  { register rtems_unsigned32 _delay=(microseconds); \
    65     register rtems_unsigned32 _tmp; \
     65    register rtems_unsigned32 _tmp = 0; /* initialized to avoid warning */ \
    6666    asm volatile( "0: \
    6767                     remo      3,31,%0 ; \
  • cpukit/score/cpu/unix/cpu.c

    r0b50855 rd6ba279  
    818818  key_t        shm_key;
    819819  key_t        sem_key;
    820   int          status;
     820  int          status = 0;  /* to avoid unitialized warnings */
    821821  int          shm_size;
    822822
Note: See TracChangeset for help on using the changeset viewer.