Project

General

Profile

Actions

Bug #10661

closed

qlt: NULL pointer errors

Added by Toomas Soome about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Build errors with NULL pointer:

    ../../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

Actions

Also available in: Atom PDF