Ignore:
Timestamp:
Nov 1, 2017 4:55:29 AM (2 years ago)
Author:
riza
Message:

Re #2045 (misc): Fix various warning raised from using clang 4.0.1. Thanks to
Alexander Traud for the report.

File:
1 edited

Legend:

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

    r5646 r5678  
    938938    struct alsa_factory *af = ((struct alsa_stream*)strm)->af; 
    939939 
    940     if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING && af->pb_mixer_name) { 
     940    if (cap==PJMEDIA_AUD_DEV_CAP_OUTPUT_VOLUME_SETTING &&  
     941        pj_ansi_strlen(af->pb_mixer_name))  
     942    { 
    941943        pj_ssize_t min, max; 
    942944        snd_mixer_t *handle; 
Note: See TracChangeset for help on using the changeset viewer.