Project

General

Profile

Bug #11404

plockstat: NULL pointer errors

Added by Toomas Soome 3 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:

    ../plockstat.c: In function 'main':
    ../plockstat.c:910:15: error: comparison between pointer and integer [-Werror]
       if (g_opt_s == NULL)
                   ^~
    ../plockstat.c:918:15: error: comparison between pointer and integer [-Werror]
       if (g_opt_s == 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 6bc6f338464909544c320247529f38fb20420589

commit  6bc6f338464909544c320247529f38fb20420589
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-26T05:24:35.000Z

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

Also available in: Atom PDF