Bug 1335227
| Summary: | libglusterfs: clang compile warnings in default-args.c | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Kaleb KEITHLEY <kkeithle> |
| Component: | core | Assignee: | Pranith Kumar K <pkarampu> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | 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: | |||
Sent as part of http://review.gluster.org/#/c/15010/ 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. |
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: