Project

General

Profile

Bug #11290

captoinfo: NULL pointer errors

Added by Toomas Soome over 1 year ago. Updated over 1 year 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 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

#1

Updated by Electric Monk over 1 year 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>

Also available in: Atom PDF