11383 listen: NULL pointer errors

Review Request #2106 — Created July 10, 2019 and submitted

tsoome
illumos-gate
11383
839106c...
general
lsdbf.c: In function 'scan_line':
lsdbf.c:535:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:543:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:567:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:575:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:583:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:591:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:599:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:607:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:661:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c:701:5: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
  *p = NULL;
     ^
lsdbf.c: In function 'pushmod':
lsdbf.c:917:17: error: comparison between pointer and integer [-Werror]
  if (!mp || *mp == NULL) {
                 ^~
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...