Project

General

Profile

Bug #11137

libfruraw: NULL pointer errors

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../fruraw.c: In function 'frt_initialize':
    ../fruraw.c:127:18: error: comparison between pointer and integer [-Werror]
      if (g_raw->cont == NULL) {
                      ^~
    ../raw_access.c: In function 'open_raw_data':
    ../raw_access.c:1101:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^
    ../raw_access.c:1125:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^
    ../raw_access.c:1134:11: error: return makes integer from pointer without a cast [-Werror=int-conversion]
        return (NULL);
               ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 year ago

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

git commit 80b16b99c7741070ef99a31d2582279f38ee5d15

commit  80b16b99c7741070ef99a31d2582279f38ee5d15
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-03T07:24:54.000Z

    11137 libfruraw: NULL pointer errors
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF