Changeset 4736 for pjproject/trunk


Ignore:
Timestamp:
Feb 6, 2014 11:06:42 AM (11 years ago)
Author:
bennylp
Message:

Misc (re #1630): another fixes for gcc warnings about variable set but unused

Location:
pjproject/trunk/pjmedia/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/v4l2_dev.c

    r4722 r4736  
    558558    vdi = &cf->dev_info[param->cap_id]; 
    559559    vfd = pjmedia_format_get_video_format_detail(&param->fmt, PJ_TRUE); 
     560    PJ_UNUSED_ARG(vfd); /* Unused for now */ 
    560561 
    561562    /* Create and Initialize stream descriptor */ 
  • pjproject/trunk/pjmedia/src/pjmedia/format.c

    r4537 r4736  
    322322{ 
    323323    pjmedia_video_format_info **first; 
    324     int          comp; 
    325324    unsigned     n; 
    326325 
     
    331330 
    332331    /* Binary search for the appropriate format id */ 
    333     comp = -1; 
    334332    first = &mgr->infos[0]; 
    335333    n = mgr->info_cnt; 
Note: See TracChangeset for help on using the changeset viewer.