11108 error: NULL pointer errors

Review Request #1893 — Created June 1, 2019 and submitted

tsoome
illumos-gate
11108
8af4354...
general
../common/errortouch.c: In function 'writetouched':
../common/errortouch.c:586:22: error: comparison between pointer and integer [-Werror]
      o_touchedfile)) != NULL) {
                      ^~
../common/errortouch.c: In function 'mustoverwrite':
../common/errortouch.c:646:60: error: comparison between pointer and integer [-Werror]
  while ((nread = fread(edbuf, 1, sizeof (edbuf), tmpfile)) != NULL) {
                                                            ^~
cc1: all warnings being treated as errors


rejohnst
  1. Ship It!
  2. 
      
ptribble
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...