Project

General

Profile

Actions

Bug #11398

closed

nl: NULL pointer errors

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

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

100%

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

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

Actions #1

Updated by Electric Monk about 4 years ago

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

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>

Actions

Also available in: Atom PDF