[Bugs] [Bug 1335230] New: protocol/client: clang compile warnings in client-helpers.c
bugzilla at redhat.com
bugzilla at redhat.com
Wed May 11 15:38:47 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1335230
Bug ID: 1335230
Summary: protocol/client: clang compile warnings in
client-helpers.c
Product: GlusterFS
Version: mainline
Component: protocol
Assignee: bugs at gluster.org
Reporter: kkeithle at redhat.com
CC: bugs at gluster.org
Description of problem:
Making all in src
CC client.lo
CC client-helpers.lo
client-helpers.c:1163:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1174:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1197:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1342:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1360:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1386:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
client-helpers.c:1417:30: warning: address of 'local->loc' will always evaluate
to 'true' [-Wpointer-bool-conversion]
if (!&local->loc) {
~ ~~~~~~~^~~
7 warnings generated.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
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