11285 audio: NULL pointer errors

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

tsoome
illumos-gate
11285
39d3944...
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


tsoome
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...