11392 mail: NULL pointer errors

Review Request #2115 - Created July 10, 2019 and submitted

Information
Toomas Soome
illumos-gate
11392
1de6092...
Reviewers
general
isit.c: In function 'isit':
isit.c:68:9: error: comparison between pointer and integer [-Werror]
  if (*p == NULL) {
         ^~
isheader.c: In function 'isheader':
isheader.c:50:9: error: comparison between pointer and integer [-Werror]
  if((*p == NULL) || (*p == '\n')) {
         ^~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...