[Bugs] [Bug 1341007] gfapi : throwing warning message for unused variable in glfs_h_find_handle()
bugzilla at redhat.com
bugzilla at redhat.com
Tue May 31 11:44:45 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1341007
--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14524 committed in master by Niels de Vos
(ndevos at redhat.com)
------
commit 719e9f2228027a85df5c7b7b3e5fb4494bfbf186
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date: Tue May 24 18:52:52 2016 +0530
gfapi/upcall : remove unused variable ret in glfs_h_find_handle
The variable ret is declared in glfs_h_find_handle(), but never used.
So while compiling following warning message will be printed.
glfs-handleops.c: In function ‘glfs_h_find_handle’:
glfs-handleops.c:1813:29: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]
int ret = -1;
^
Change-Id: I599b7a4e87184aacd6c937e946defd4e270509c4
BUG: 1341007
Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
Reviewed-on: http://review.gluster.org/14524
Smoke: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
--
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