[Bugs] [Bug 1488909] New: Fix the type of 'len' in posix.c, clang is showing a warning
bugzilla at redhat.com
bugzilla at redhat.com
Wed Sep 6 12:51:47 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1488909
Bug ID: 1488909
Summary: Fix the type of 'len' in posix.c, clang is showing a
warning
Product: GlusterFS
Version: mainline
Component: build
Assignee: bugs at gluster.org
Reporter: mscherer at redhat.com
CC: bugs at gluster.org
Description of problem:
Building with clang show this warning:
posix.c:133:17: warning: comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
Looking at the code, the problem is that we compare len, a unsigned type to see
if that's < 0, which doesn't make sense.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list