11445 w: NULL pointer errors

Review Request #2163 — Created July 11, 2019 and submitted

tsoome
illumos-gate
11445
36c69c1...
general
../w.c: In function 'clnarglist':
../w.c:737:23: error: comparison between pointer and integer [-Werror]
  for (c = arglist; *c != NULL; c++) {
                       ^~
../w.c:740:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
     *arglist = NULL;
              ^
cc1: all warnings being treated as errors


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

Status: Closed (submitted)

Loading...