Changeset 5653:a544ab772198 in roaraudio


Ignore:
Timestamp:
09/12/12 16:54:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

avoid compiler warning with -DDEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_select.c

    r5470 r5653  
    7171#ifdef DEBUG 
    7272   name = NULL; 
    73    roar_vio_ctl(vios[i].vio, ROAR_VIO_CTL_GET_NAME, &name); 
     73   if ( roar_vio_ctl(vios[i].vio, ROAR_VIO_CTL_GET_NAME, &name) != 0 ) 
     74    name = NULL; 
    7475   ROAR_DBG("roar_vio_select(*): vios[%i]'s name is: '%s'", i, name); 
    7576#endif 
Note: See TracChangeset for help on using the changeset viewer.