[Bugs] [Bug 1335227] New: libglusterfs: clang compile warnings in default-args.c

bugzilla at redhat.com bugzilla at redhat.com
Wed May 11 15:32:59 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1335227

            Bug ID: 1335227
           Summary: libglusterfs: clang compile warnings in default-args.c
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org



Description of problem:

  CC       libglusterfs_la-default-args.lo
default-args.c:1575:20: warning: address of 'args->loc' will always evaluate to
'true' [-Wpointer-bool-conversion]
        if (&args->loc)
        ~~   ~~~~~~^~~
default-args.c:1578:20: warning: address of 'args->loc2' will always evaluate
to 'true' [-Wpointer-bool-conversion]
        if (&args->loc2)
        ~~   ~~~~~~^~~~




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