[Bugs] [Bug 1341007] New: gfapi : throwing warning message for unused variable in glfs_h_find_handle()

bugzilla at redhat.com bugzilla at redhat.com
Tue May 31 05:52:20 UTC 2016


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

            Bug ID: 1341007
           Summary: gfapi : throwing warning message for unused variable
                    in glfs_h_find_handle()
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Keywords: EasyFix, Triaged
          Assignee: bugs at gluster.org
          Reporter: jthottan at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org



Description of problem:
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;

Version-Release number of selected component (if applicable):
mainline

How reproducible:
always

Steps to Reproduce:
1.Compile latest master code


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