bugGNU FreeIPMI - Bugs: bug #57317, sdr/ipmi-sdr-parse-util.c: 2* bad...

 
 

bug #57317: sdr/ipmi-sdr-parse-util.c: 2* bad test ?

Submitter:  David Binderman <dcb314>
Submitted:  Wed 27 Nov 2019 04:47:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  chu11 Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 27 Nov 2019 04:55:04 PM UTC, comment #1: 

Doh!  That's supposed to be (sdr_record && !sdr_record_len).  Thanks for the catch.  I'll fix in the upstream master and the FreeIPMI 1.6 stable branch.

Albert Chu <chu11>
Group administrator
Wed 27 Nov 2019 04:47:42 PM UTC, original submission:  

1.

sdr/ipmi-sdr-parse-util.c:186:24: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]

Source code is

 if (((sdr_record_len && !sdr_record_len)

2.

sdr/ipmi-sdr-parse-util.c:293:24: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]

Duplicate.

David Binderman <dcb314>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chu11 (Posted a comment)
  • -email is unavailable- added by dcb314 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-27 chu11 Assigned toNone chu11
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code