Project

General

Profile

Bug #11445

w: NULL pointer errors

Added by Toomas Soome about 1 month ago. Updated 24 days 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:

    ../w.c: In function 'clnarglist':
    ../w.c:737:23: error: comparison between pointer and integer [-Werror]
      for (c = arglist; *c != NULL; c++) {
                           ^~
    ../w.c:740:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
         *arglist = NULL;
                  ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 24 days ago

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

git commit 352d7aeda1f43047aa9ff2e75cc69021c19a6a07

commit  352d7aeda1f43047aa9ff2e75cc69021c19a6a07
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-31T05:25:22.000Z

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

Also available in: Atom PDF