Project

General

Profile

Actions

Bug #10002

closed

librcm: bitwise comparison always evaluates to false

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
gcc8
Gerrit CR:
External Bug:

Description

Issue found by gcc 8 build:

    ../librcm.c:139:46: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
          ((flag & RCM_DR_OPERATION|RCM_MOD_INFO) == 0)) {
                                                  ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 4 years ago

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

git commit f111a354011b4b6a93d3b8d94aa06a982d8c7686

commit  f111a354011b4b6a93d3b8d94aa06a982d8c7686
Author: Toomas Soome <tsoome@me.com>
Date:   2018-12-03T14:18:48.000Z

    10002 librcm: bitwise comparison always evaluates to false
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF