Project

General

Profile

Actions

Bug #11389

closed

logadm: NULL pointer errors

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

Description

Build errors with NULL pointer:

    main.c: In function 'rotateto':
    main.c:834:38: error: comparison between pointer and integer [-Werror]
      if (n == 0 && opts_count(opts, "c") != NULL) {
                                          ^~
    main.c: In function 'docopytruncate':
    main.c:1115:29: error: comparison between pointer and integer [-Werror]
      if (opts_count(opts, "vn") != NULL) {
                                 ^~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF