Project

General

Profile

Actions

Bug #11290

closed

captoinfo: NULL pointer errors

Added by Toomas Soome over 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:
External Bug:

Description

Build error with NULL pointer:

    captoinfo.c: In function 'adddefaults':
    captoinfo.c:959:36: error: comparison between pointer and integer [-Werror]
          (ostrval[uselevel][cap_rs][0] != 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 8f32bfdc833ff8990921fa7b28a4d6bd970ef98f

commit  8f32bfdc833ff8990921fa7b28a4d6bd970ef98f
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-08T17:34:41.000Z

    11290 captoinfo: NULL pointer errors
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF