Project

General

Profile

Actions

Bug #11392

closed

mail: NULL pointer errors

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    isit.c: In function 'isit':
    isit.c:68:9: error: comparison between pointer and integer [-Werror]
      if (*p == NULL) {
             ^~
    isheader.c: In function 'isheader':
    isheader.c:50:9: error: comparison between pointer and integer [-Werror]
      if((*p == NULL) || (*p == '\n')) {
             ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 9e364aca663e830f5a1b48c9d16cdff4c766c85d

commit  9e364aca663e830f5a1b48c9d16cdff4c766c85d
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-20T18:24:59.000Z

    11392 mail: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF