11285 audio: NULL pointer errors

Review Request #2031 - Created July 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
11285
39d3944...
Reviewers
general
audiorecord.c: In function 'parse_sample_rate':
audiorecord.c:773:11: error: comparison between pointer and integer [-Werror]
   if (*cp != NULL) {
           ^~
audioplay.c: In function 'path_open':
audioplay.c:961:10: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    *cp++ = NULL; /* now pts to next path element */
          ^
cc1: all warnings being treated as errors

  
Toomas Soome
Andrew Stormont
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...