Merge pull request #10475 from yonghengdexin735/wip-zzz-rgw

rgw/rgw_main: fix unnecessary variables defined

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2016-08-08 14:14:35 -04:00 committed by GitHub
commit 9852b0c502

View File

@ -78,9 +78,8 @@ void signal_shutdown()
int val = 0;
int ret = write(signal_fd[0], (char *)&val, sizeof(val));
if (ret < 0) {
int err = -errno;
derr << "ERROR: " << __func__ << ": write() returned "
<< cpp_strerror(-err) << dendl;
<< cpp_strerror(errno) << dendl;
}
}
}