Changeset 5586:5b82b3417705 in roaraudio for roard/driver.c


Ignore:
Timestamp:
07/22/12 02:24:07 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

general cleanup for -Wextra

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver.c

    r5388 r5586  
    293293 int ret; 
    294294 
    295  ROAR_DBG("driver_cdriver_open(inst=%p, device='%s', info=%p, fh=%i) = ?", inst, device, info, fh); 
     295 (void)sstream; 
     296 
     297 ROAR_DBG("driver_cdriver_open(inst=%p, device='%s', info=%p, fh=%i, sstream=%p) = ?", inst, device, info, fh, sstream); 
     298 
     299 if ( fh != -1 ) { 
     300  roar_err_set(ROAR_ERROR_NOTSUP); 
     301  return -1; 
     302 } 
    296303 
    297304 if (device == NULL) { 
     
    320327 
    321328int  driver_dummy_ctl(struct roar_vio_calls * vio, roar_vio_ctl_t cmd, void * data) { 
     329 (void)vio; 
     330 
    322331 switch (cmd) { 
    323332  case ROAR_VIO_CTL_NONBLOCK: 
Note: See TracChangeset for help on using the changeset viewer.