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;
REVIEW: https://review.gluster.org/18215 (Do not declare the variable timeout_ms if TCP_USER_TIMEOUT is not defined) posted (#1) for review on master by Michael Scherer (misc)
COMMIT: https://review.gluster.org/18215 committed in master by Jeff Darcy (jeff.us) ------ commit 30712dc7d300fb6bffd45f29d9e9ddd83468f38a Author: Michael Scherer <misc> Date: Wed Sep 6 11:44:06 2017 +0200 Do not declare the variable timeout_ms if TCP_USER_TIMEOUT is not defined Trying to fix the build on FreeBSD, -Wunused-variable trigger this warning. Change-Id: I318121829ac6a609fe9c606aead257827c7748b1 BUG: 1488829 Signed-off-by: Michael Scherer <misc> Reviewed-on: https://review.gluster.org/18215 Smoke: Gluster Build System <jenkins.org> Tested-by: Michael Scherer <misc> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Jeff Darcy <jeff.us>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.13.0, please open a new bug report. glusterfs-3.13.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-December/000087.html [2] https://www.gluster.org/pipermail/gluster-users/