Project

General

Profile

Actions

Bug #12104

closed

libkdb_ldap: bitwise comparison always evaluates to false

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with gcc 8:

    ../ldap_misc.c:2233:44: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
          if ((mask & KDB_PWD_EXPIRE_TIME_ATTR) == 1) {
                                                ^~
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions

Also available in: Atom PDF