Ignore:
Timestamp:
Feb 4, 2014 10:13:56 AM (11 years ago)
Author:
bennylp
Message:

Misc (re #1630): Fixing warnings about variable set but not used with recent gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/bb10_dev.c

    r4707 r4728  
    501501                if (status.status == SND_PCM_STATUS_READY || 
    502502                    status.status == SND_PCM_STATUS_UNDERRUN || 
    503                     status.status == SND_PCM_STATUS_ERROR )  
     503                    status.status == SND_PCM_STATUS_ERROR ) 
    504504                { 
    505505                    if (snd_pcm_plugin_prepare (stream->pb_pcm, 
     
    778778    TRACE_((THIS_FILE, "bb10_open_playback: pb_frames = %d clock = %d", 
    779779                       stream->pb_frames, param->clock_rate)); 
    780      
     780 
    781781    return PJ_SUCCESS; 
    782782} 
     
    864864 
    865865    frame_size = setup.buf.block.frag_size; 
     866    PJ_UNUSED_ARG(frame_size); /* Warning about unused var */ 
    866867 
    867868    /* Set clock rate */ 
     
    962963 
    963964 
    964 /*  
     965/* 
    965966 * API: get running parameter 
    966967 * based on ALSA template 
     
    981982/* 
    982983 * API: get capability 
    983  * based on ALSA template  
     984 * based on ALSA template 
    984985*/ 
    985986static pj_status_t bb10_stream_get_cap(pjmedia_aud_stream *s, 
     
    10431044            ret = bb10_initialize_playback_ctrl(stream,true); 
    10441045        } else { 
    1045             ret = bb10_initialize_playback_ctrl(stream,false);           
     1046            ret = bb10_initialize_playback_ctrl(stream,false); 
    10461047        } 
    10471048        return ret; 
Note: See TracChangeset for help on using the changeset viewer.