10740 udfs: NULL pointer errors

Review Request #1706 - Created April 12, 2019 and submitted

Information
Toomas Soome
illumos-gate
10740
339afbe...
Reviewers
general
../../common/fs/udfs/udf_subr.c: In function 'ud_uncompress':
../../common/fs/udfs/udf_subr.c:1743:16: error: comparison between pointer and integer [-Werror]
       (w2_char == NULL)) {
                ^~

../../common/fs/udfs/udf_vnops.c: In function 'udf_symlink':
../../common/fs/udfs/udf_vnops.c:1305:18: error: comparison between pointer and integer [-Werror]
   while (*target != NULL) {
                  ^~
../../common/fs/udfs/udf_vnops.c:1350:16: error: comparison between pointer and integer [-Werror]
    if (*target == NULL) {
                ^~
cc1: all warnings being treated as errors

  
Andrew Stormont
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...