Project

General

Profile

Actions

Bug #11446

closed

whodo: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 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:

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

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit 61aaa916808c601f9ee36d96c05ee9dac211d09e

commit  61aaa916808c601f9ee36d96c05ee9dac211d09e
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-31T05:28:27.000Z

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

Actions

Also available in: Atom PDF