diff --git a/source3/modules/vfs_ceph.c b/source3/modules/vfs_ceph.c index e402ff1..c8a7b46 100644 --- a/source3/modules/vfs_ceph.c +++ b/source3/modules/vfs_ceph.c @@ -750,9 +750,10 @@ static int cephwrap_ntimes(struct vfs_handle_struct *handle, struct smb_file_time *ft) { struct utimbuf buf; + int result; buf.actime = ft->atime.tv_sec; buf.modtime = ft->mtime.tv_sec; - int result = ceph_utime(handle->data, smb_fname->base_name, &buf); + result = ceph_utime(handle->data, smb_fname->base_name, &buf); DEBUG(10, ("[CEPH] ntimes(%p, %s, {%ld, %ld, %ld, %ld}) = %d\n", handle, smb_fname_str_dbg(smb_fname), ft->mtime.tv_sec, ft->atime.tv_sec, ft->ctime.tv_sec, ft->create_time.tv_sec, result));