Changeset 5270:e25346c13638 in roaraudio for libroar/vio_stdio.c


Ignore:
Timestamp:
11/17/11 18:20:12 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some gcc -Wextra warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_stdio.c

    r5088 r5270  
    6262#endif 
    6363 
     64 // (void)flags is the the individual sections because later added APIs 
     65 // may require those flags. 
     66 
    6467 if ( calls == NULL ) 
    6568  return NULL; 
    6669 
    6770#if defined(ROAR_HAVE_FOPENCOOKIE) 
     71 (void)flags; 
     72 
    6873 memset(&foc_funcs, 0, sizeof(cookie_io_functions_t)); 
    6974 
     
    7479 return fopencookie((void*) calls, "rw", foc_funcs); 
    7580#elif defined(ROAR_HAVE_FUNOPEN) 
     81 (void)flags; 
     82 
    7683 return funopen((void*) calls, roar_vio_to_stdio_read,  roar_vio_to_stdio_write, 
    7784                               roar_vio_to_stdio_lseek, roar_vio_to_stdio_close); 
Note: See TracChangeset for help on using the changeset viewer.