11446 whodo: NULL pointer errors

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

tsoome
illumos-gate
11446
fe35c11...
general
../whodo.c: In function 'clnarglist':
../whodo.c:828:23: error: comparison between pointer and integer [-Werror]
  for (c = arglist; *c == NULL; c++) {
                       ^~
../whodo.c:831: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...