11396 ndmpd: NULL pointer errors

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

Information
Toomas Soome
illumos-gate
11396
831f2f2...
Reviewers
general
ndmp/ndmpd_log.c: In function 'ndmp_log_open_file':
ndmp/ndmpd_log.c:212:33: error: comparison between pointer and integer [-Werror]
  if ((lpath == NULL) || (*lpath == NULL))
                                 ^~

ndmp/ndmpd_callbacks.c: In function 'ndmpd_api_find_env':
ndmp/ndmpd_callbacks.c:862:32: error: comparison between pointer and integer [-Werror]
   if (strcmp(name, envp->name) == NULL)
                                ^~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...