Project

General

Profile

Bug #11146

libmapid: NULL pointer errors

Added by Toomas Soome 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/mapid.c: In function 'get_nfs_domain':
    ../common/mapid.c:962:29: error: comparison between pointer and integer [-Werror]
      if (ret == SA_OK && *value != NULL) {
                                 ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 4 months ago

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

git commit f5f1a62e51e5e35359add22ba492c3e3a8f12654

commit  f5f1a62e51e5e35359add22ba492c3e3a8f12654
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-03T20:18:38.000Z

    11146 libmapid: NULL pointer errors
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF