11445 w: NULL pointer errors

Review Request #2163 - Created July 11, 2019 and updated

Information
Toomas Soome
illumos-gate
11445
36c69c1...
Reviewers
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

  
Andy Fiddaman
Ship It!
Loading...