Project

General

Profile

Bug #11398

nl: NULL pointer errors

Added by Toomas Soome 12 months ago. Updated 12 months 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:

    nl.c: In function 'main':
    nl.c:574:13: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
        p[lnt-1] = NULL;
                 ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 12 months ago

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

git commit 6a7605d4240442195b2a8f79d02a64359f74257e

commit  6a7605d4240442195b2a8f79d02a64359f74257e
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-26T05:05:29.000Z

    11398 nl: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF