Bug 1335227

Summary: libglusterfs: clang compile warnings in default-args.c
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: coreAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:35:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kaleb KEITHLEY 2016-05-11 15:32:59 UTC
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:

Comment 1 Anuradha 2016-08-09 07:02:50 UTC
Sent as part of http://review.gluster.org/#/c/15010/

Comment 3 Amar Tumballi 2018-08-29 03:35:41 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.