Changeset 3496:474e67abcc4e in roaraudio


Ignore:
Timestamp:
02/14/10 18:34:30 (10 years ago)
Author:
phi
Branch:
default
Message:

fix a small bug with uninited memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarpulse/mainloop-signal.c

    r3495 r3496  
    7575#ifdef ROAR_HAVE_PIPE 
    7676 int sig; 
    77 #endif 
    7877 size_t ret; 
    7978 
    80 #ifdef ROAR_HAVE_PIPE 
    8179 ret = read(fd, &sig, sizeof(sig)); 
    82 #endif 
    8380 
    8481 if ( ret != sizeof(sig) ) 
    8582  return; 
     83#endif 
    8684 
    8785 if ( sig >= MAX_SIG ) 
Note: See TracChangeset for help on using the changeset viewer.