Bug 762040 (GLUSTER-308) - Warning in debug/trace.c, during build
Summary: Warning in debug/trace.c, during build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-308
Product: GlusterFS
Classification: Community
Component: trace
Version: mainline
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-09 06:52 UTC by Vinayak Hegde
Modified: 2009-11-12 09:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Anand Avati 2009-10-09 06:00:40 UTC
PATCH: http://patches.gluster.com/patch/1837 in master (debug/trace: Check asprintf return value to avoid warning, while build)

Comment 1 Vinayak Hegde 2009-10-09 06:52:19 UTC
When glusterfs is built, the following warning is shown.
 
trace.c: In function ‘trace_stat_to_str’:
trace.c:73: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result


Note You need to log in before you can comment on or make changes to this bug.