Project

General

Profile

Bug #11387

look: NULL pointer errors

Added by Toomas Soome 4 months ago. Updated 3 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

look.c: In function 'main':
look.c:80:10: error: comparison between pointer and integer [-Werror]
  if (tab != NULL) {
          ^~
cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 3 months ago

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

git commit d4d37f1b7f62fa7bc9abd7dcd34bc6d85dac69af

commit  d4d37f1b7f62fa7bc9abd7dcd34bc6d85dac69af
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-18T06:14:13.000Z

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

Also available in: Atom PDF