session.c:2949:26: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
Source code is
if ((flagbyte1 & 0xC0) == 3)
Some duplicates:
session.c:2970:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:2974:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3254:26: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3299:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3304:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
Hello there,
The bug remains unfixed after three years, so I won't bother resubmitting it.
Regards
David Binderman
From: bugs@tn5250.p.re.sourceforge.net bugs@tn5250.p.re.sourceforge.net on behalf of Kevin Adler kadler@users.sourceforge.net
Sent: 17 October 2023 13:14
To: [tn5250:bugs] 46@bugs.tn5250.p.re.sourceforge.net
Subject: [tn5250:bugs] #46 session.c:2949: bad compare ?
Hi, if you are still experiencing this problem, please open an issue at https://github.com/tn5250/tn5250/issues
[bugs:#46]https://sourceforge.net/p/tn5250/bugs/46/ session.c:2949: bad compare ?
Status: wont-fix
Group: v1.0 (example)
Created: Fri Jul 10, 2020 04:14 PM UTC by dcb
Last Updated: Fri Jul 10, 2020 04:14 PM UTC
Owner: nobody
session.c:2949:26: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
Source code is
if ((flagbyte1 & 0xC0) == 3)
Some duplicates:
session.c:2970:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:2974:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3254:26: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3299:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
session.c:3304:31: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/tn5250/bugs/46/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs:
#46Hi, if you are still experiencing this problem, please open an issue at https://github.com/tn5250/tn5250/issues
The bug remains unfixed after three years, so it seems pretty pointless
to resubmit it.
A fix looks unlikely.