Bug ID |
11501
|
Summary |
Coverity CID 1167971-1167974: constant expressions in wslua_int64.c
|
Product |
Wireshark
|
Version |
1.99.x (Experimental)
|
Hardware |
All
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
Trivial
|
Priority |
Low
|
Component |
Dissection engine (libwireshark)
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Coverity is complaining about a constant _expression_ (i.e., an if-statement
which is always true). It's actually a false-positive hit by Coverity - the
if-check is checking the host endianness, and thus is always true on a
little-endian machine, but always false on a big-endian one.
But we can get rid of it by doing the check in a macro, so that's what I'm
going to do.
You are receiving this mail because:
- You are watching all bug changes.