summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libappfuse/FuseBuffer.cc')
-rw-r--r--libappfuse/FuseBuffer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libappfuse/FuseBuffer.cc b/libappfuse/FuseBuffer.cc
index 1b47e0a35..1eab46cb4 100644
--- a/libappfuse/FuseBuffer.cc
+++ b/libappfuse/FuseBuffer.cc
@@ -251,7 +251,9 @@ void FuseBuffer::HandleInit() {
251void FuseBuffer::HandleNotImpl() { 251void FuseBuffer::HandleNotImpl() {
252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq=" 252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq="
253 << request.header.unique << " nid=" << request.header.nodeid; 253 << request.header.unique << " nid=" << request.header.nodeid;
254 const uint64_t unique = request.header.unique; 254 // Add volatile as a workaround for compiler issue which removes the temporary
255 // variable.
256 const volatile uint64_t unique = request.header.unique;
255 response.Reset(0, -ENOSYS, unique); 257 response.Reset(0, -ENOSYS, unique);
256} 258}
257 259