[Bugs] [Bug 1488829] New: Fix unused variable when TCP_USER_TIMEOUT is undefined

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 6 09:47:26 UTC 2017


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

            Bug ID: 1488829
           Summary: Fix unused variable when TCP_USER_TIMEOUT is undefined
           Product: GlusterFS
           Version: mainline
         Component: build
          Assignee: bugs at gluster.org
          Reporter: mscherer at redhat.com
                CC: bugs at gluster.org



Description of problem:
-Wunused-variable show a undefined variable in
rpc/rpc-transport/socket/src/socket.c

/tmp/glusterfs/rpc/rpc-transport/socket/src/socket.c: In function
'__socket_keepalive':
/tmp/glusterfs/rpc/rpc-transport/socket/src/socket.c:846:17: warning: unused
variable 'timeout_ms' [-Wunused-variable]
         int     timeout_ms = timeout * 1000;

-- 
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