Project

General

Profile

Actions

Bug #11393

closed

ndmpadm: NULL pointer errors

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

    ndmpadm_print.c: In function 'ndmp_print_env':
    ndmpadm_print.c:107:48: error: comparison between pointer and integer [-Werror]
       if ((ep->np_value != NULL) && (*ep->np_value != NULL))
                                                    ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 3 years ago

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

git commit a7a204a5df2f23dc42b122bd7adc565f35bcf22c

commit  a7a204a5df2f23dc42b122bd7adc565f35bcf22c
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-20T18:27:32.000Z

    11393 ndmpadm: NULL pointer errors
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF