Changeset 5017:5a796cea42c2 in roaraudio


Ignore:
Timestamp:
05/26/11 13:52:24 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some compiler warnings

Location:
libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libroar/libroar.c

    r5010 r5017  
    184184 
    185185 if ( what & ROAR_RESET_MEMORY ) { 
    186   roar_mm_reset(); 
     186  (void)roar_mm_reset(); 
    187187 } 
    188188 
  • libroar/simple.c

    r4806 r5017  
    106106 
    107107 if ( dir == ROAR_DIR_PLAY ) { 
    108   ROAR_SHUTDOWN(ret, SHUT_RD); 
     108  (void)ROAR_SHUTDOWN(ret, SHUT_RD); 
    109109 } else if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) { 
    110   ROAR_SHUTDOWN(ret, SHUT_WR); 
     110  (void)ROAR_SHUTDOWN(ret, SHUT_WR); 
    111111 } 
    112112 
     
    336336 
    337337 if ( dir == ROAR_DIR_PLAY ) { 
    338   ROAR_SHUTDOWN(fh, SHUT_RD); 
     338  (void)ROAR_SHUTDOWN(fh, SHUT_RD); 
    339339 } else if ( dir == ROAR_DIR_MONITOR || dir == ROAR_DIR_RECORD ) { 
    340   ROAR_SHUTDOWN(fh, SHUT_WR); 
     340  (void)ROAR_SHUTDOWN(fh, SHUT_WR); 
    341341 } 
    342342 
Note: See TracChangeset for help on using the changeset viewer.