10661 qlt: NULL pointer errors

Review Request #1634 - Created April 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
10661
db8ce58...
Reviewers
general
../../common/io/comstar/port/qlt/qlt.c: In function 'qlt_dump_el_trace_buffer':
../../common/io/comstar/port/qlt/qlt.c:6046:11: error: comparison between pointer and integer [-Werror]
  if (rval != NULL) {
           ^~
../../common/io/comstar/port/qlt/qlt.c:6076:29: error: comparison between pointer and integer [-Werror]
    } else if (*dump_current == NULL) {
                             ^~
../../common/io/comstar/port/qlt/qlt.c: In function 'qlt_find_trace_start':
../../common/io/comstar/port/qlt/qlt.c:6141:25: error: comparison between pointer and integer [-Werror]
  } else if (*trace_next != NULL) {
                         ^~
cc1: all warnings being treated as errors

  

Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Gergő Mihály Doma
Toomas Soome
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...